Perl Monk, Perl Meditation | |
PerlMonks |
Re: use strict; before/after use warnings;by Anonymous Monk |
on Nov 06, 2019 at 16:29 UTC ( [id://11108381]=note: print w/replies, xml ) | Need Help?? |
I use strict before warnings. Honestly, though, I think this was originally a case of "monkey see, monkey do," and now it is habit. For what it is worth, strict is the older of the pragmas, going all the way back to 5.0. The warnings pragma was introduced in 5.6. Before that, you used $^W to turn on warnings. No, I'm not that old -- I got the information from the corelist script, which comes with Module::CoreList.
In Section
Seekers of Perl Wisdom
|
|