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