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.
In reply to RE: Re: lexical weirdness(?)
by Anonymous Monk
in thread lexical weirdness(?)
by jimt
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |