[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]
Re: [PATCH English.pm] Removing the regex nastiness (finally)
In <20000121120125.A27231@athens.aocn.com>, Michael G Schwern writes:
:$MATCH, et al are exported as trick tie'd variables. On their first
:use they replace themselves with their actual intended values. Passes
:all t/lib/english.t tests.
Dunno how relevant this is - English isn't something I'm in the habit
of using - but as far as I can see, existing code such as:
use English;
@MATCH = qw/ win draw lose /;
...
would have worked up to now, but with your patch applied the *MATCH
glob is modified later, so would destroy the array. I think you can
avoid that by changing the glob replacement in STORE to replace only
the scalar within the glob.
Hugo
- Follow-Ups from:
-
Chris Nandor <pudge@pobox.com>
- References to:
-
Michael G Schwern <schwern@pobox.com>
[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]