in reply to Re: lexical weirdness(?)
in thread lexical weirdness(?)
my $foo if 0;
This is a "feature" that has been covered on p5p... when the "if" fails, the lexical variable is not re-allocated and so stays whatever it was. I believe the consensus was not to expect this feature to stick around.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(tye)Re: lexical weirdness(?)
by tye (Sage) on Oct 25, 2000 at 22:16 UTC |