Ok, let me simplify the question.

Does the #!perl -w switch still work on Perl 5.6.0 and later?

Thanks,

Dan

> 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]

Reply via email to