in reply to #!/usr/bin/perl -w and use warnings;

-w turns on warning for the whole Perl program, including any included modules etc; 'use warnings' enables them only in the current lexical scope.

Dave.

  • Comment on Re: #!/usr/bin/perl -w and use warnings;