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

Re: Warnings, strict, and CPAN

From:
Peter Scott
Date:
February 17, 2001 16:59
Subject:
Re: Warnings, strict, and CPAN
Message ID:
4.3.2.7.2.20010217163243.00b44a80@psdt.com
At 02:49 PM 2/17/01 -0500, schwern@pobox.com 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 
http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2000-11/msg01107.html. 
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




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