Dan, One thing that springs to mind is that if you're using Windows, you can't specify -w on a she-bang (well you can, but windows aint gonna do anything with it). Using warnings.pm would force this in the script, rather than relying on you webserver, whatever's calling you scripts.
Hope this helps, Rob "Dan Muey" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] com... Hello list, If I understand this right -w and warnings.pm do the same thing except :: - warnings.pm is new to Perl 5.6.0 - -w applies to the entire program and warnings.pm can be done block leveland stopped with 'no warnings;' So my questions is this. Does -w still work the same as it did with 5.6.0 and later? Is there a chance that it will become deprecated anytime soon? The reason being I am deploying a script that will need to run on lots of different servers and some will have old and some will have new versions of perl. I want have warnings on all of them without having different versions of my script or the need to change the script if they upgrade perl. So I figure -w will do me. Is there anything I'm missing or am I correct in my assumption? Thanks Dan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]