![]() |
|
Syntactic Confectionery Delight | |
PerlMonks |
Re^7: Closure warning with Perl 5.14?by JavaFan (Canon) |
on May 19, 2011 at 13:59 UTC ( [id://905703]=note: print w/replies, xml ) | Need Help?? |
Yeah, but what is the intention of all other code that uses:
? Either the if COND is redundant, because it's always true, or it maybe false and you have the same issue. Also, creates a "state" variable, yet there's no warning. Now, I'm usually not a fan of adding a warning for every little thing, but if there's a warning, it shouldn't be inconsistent on when it warns and when it doesn't.
In Section
Seekers of Perl Wisdom
|
|