in reply to Re^4: Lexical scope vs. postfix loops (perl bug?)
in thread Lexical scope vs. postfix loops (perl bug?)
The second reason to reject warnings usually is "that belongs in a lint utility like Perl::Critic.
A third possible reason can be that some stuff is surprisingly hard to implement in perl5 because it doesn't keep a parse tree of the whole program, but discards the current part of the parse tree as soon as it can be turned into an op tree. Which makes static analysis non-trivial, in some cases (I don't know how it is in this case, though).
Currently I think that a warning is not a bad idea.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Lexical scope vs. postfix loops (perl bug?)
by jh (Beadle) on Aug 25, 2008 at 21:13 UTC | |
by moritz (Cardinal) on Aug 25, 2008 at 21:20 UTC |