develooper Front page | perl.perl5.porters | Postings from July 2003

Re: Warnings.pm ?

Thread Previous | Thread Next
From:
Elizabeth Mattijsen
Date:
July 29, 2003 07:00
Subject:
Re: Warnings.pm ?
Message ID:
p05111b03bb4c1a59a583@[192.168.2.108]
At 10:21 +0000 7/29/03, slaven@rezic.de wrote:
>  > Would that interfere with any other plans we have?  Or would it
>  > simplify matters?
>As an alternative one can do:
>
>     use if $] >= 5.006, "warnings";
>
>if.pm should be compatible with older perls and is included since 5.8.0

Problem is that authors have "use warnings qw(xxx)" and "no warnings 
qw(xxx)" scattered all over the place.  So this would just postpone 
error messages until one of these is encountered at compile time...


Liz

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About