in reply to Re: YAlQ: Yet Another local() Question.
in thread YAlQ: Yet Another local() Question.
It says local() does what I think it does, it exists mainly for historical reasons, and also says "never use local(), always use my()".
I think the last is a bit much. I find constructs like: <code> { local $\ = $RECORDSEPARATOR; $record = <INFILE>; } <code> to be quite handy, and much less unwieldy than the alternative I mentioned.
|
---|
Replies are listed 'Best First'. | |
---|---|
RE: Coping with Scoping.
by btrott (Parson) on Aug 03, 2000 at 20:03 UTC |
In Section
Seekers of Perl Wisdom