in reply to Re^2: My questions: new to perl
in thread My questions: new to perl
That's an incomplete answer. local can localized elements of lexical arrays (and hashes) as well.
Thanks, added.
That's the first time I hear someone claim strict has anything to do with backwards compatibility reasons. If that were true, no code written in the past 15 years would have had the need for "no strict"
You didn't finish your thought. Are you saying you disagree with the conclusion? How so?
By the way, strict is now on by default in Perl 5.12 (the language, not the interpreter).*
But on other cases, it's just plain wrong [...] For instance, the code I posted above isn't warnings free
Comma in qw() is most definitely likely to be an error. I for one have taken advantage of this warning a couple of times.
* — To use Perl 5.12, add use 5.012;.
Update: Added "*".
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: My questions: new to perl
by JavaFan (Canon) on Mar 13, 2011 at 20:30 UTC | |
by ikegami (Patriarch) on Mar 14, 2011 at 14:40 UTC | |
by JavaFan (Canon) on Mar 14, 2011 at 21:04 UTC | |
by ikegami (Patriarch) on Mar 14, 2011 at 22:09 UTC | |
by JavaFan (Canon) on Mar 15, 2011 at 00:34 UTC | |
|