develooper Front page | perl.perl6.language.strict | Postings from February 2001

Re: Warnings, strict, and CPAN

Peter Scott
February 17, 2001 16:59
Re: Warnings, strict, and CPAN
Message ID:
At 02:49 PM 2/17/01 -0500, wrote:
>PERL5OPT='-Mwarnings -Mstrict' perl -wle 'print keys %INC'
>unkown warnings category '-Mstrict' at -e line 0
>BEGIN failed--compilation aborted.
>It seems to be parsing that as: C<use warnings '-Mstrict'>.  IMHO this
>is a bug.

Yes, MJD pointed it out last November in 
Simon Cozens submitted a patch which failed the test; I think I found the 
problem with it and just submitted a revised patch to p5p.

Peter Scott
Pacific Systems Design Technologies Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About