[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]

Re: [ID 20000111.009] Better English



In <714DFA46B9BBD0119CD000805FC1F53BDC39A8@UKRUX002.rundc.uk.origin-it.com>, "M
oore, Paul" writes:
:From: Jeff Pinyan [mailto:jeffp@crusoe.net]
:> 
:> The $`, $&, and $' variables have been optimized in a recent 
:> version of Perl, but anyway, I've written a module not unlike
:> your request.
:> 
:> It basically breaks the variables down into the sections they 
:> are put in, in the module itself.  Syntax would be:
:
:Isn't the problem that if Perl even SEES $` and co, it pessimises instantly?
:Hence, if your module declares names for these variables, even if they
:aren't exported or processed, the user gets the hit.
:
:You need to segregate $`, $& and $' to a separate file, which you only
:require if the user requests these variables.

eval "" is enough to keep them invisible.

Hugo


References to:
"Moore, Paul" <Paul.Moore@uk.origin-it.com>

[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]