Perl.Org wrote:
Also on this subject, is there some easy syntax that will use
warnings if it is supported or set $^W otherwise, so I don't have
to go through all the scripts (the vendor has upgraded their Perl
distro to 5.6 with the current release we haven't migrated to yet)?

If you have made your scripts pass $^W (or the -w switch) without generating warnings, you obviously don't need the flexibility that "use warnings;" may offer, so there is really no need to replace $^W with "use warnings;" just because Perl is upgraded.

--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to