use warnings; is only available on Perl 5.6.0 on up. -w works on all platforms (unix/win/mac/etc) with a Perl that supports warnings because the /perl executable looks for shebang line options regardless of whether the that platform actually uses the shebang line per se to target the perl exe. So to make your code backwards compatible with the still extremely common perl 5.5 use -w. You will find more discussion of this here use warnings vs. perl -w
cheers
tachyon
s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print
In reply to Re: Re: why does 'print ("hey)")' give a warning?
by tachyon
in thread why does 'print ("hey)")' give a warning?
by lanzz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |