Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: use warnings vs. perl -wby davorg (Chancellor) |
on Jan 24, 2001 at 16:39 UTC ( [id://53954]=note: print w/replies, xml ) | Need Help?? |
use warnings and -w do very similar things. use warnings was introduced in Perl 5.6 and is definitely the way to go. The only reason to stick with -w is if your scripts might be run using an older version of Perl. --<http://www.dave.org.uk>
"Perl makes the fun jobs fun
In Section
Seekers of Perl Wisdom
|
|