On Sat, Feb 17, 2001 at 11:09:29AM -0800, Peter Scott wrote: > >No, there will probably be a big push to shut it off, based on > >historical reactions to this sort of thing. > > Maybe I'm missing something; I'm sure the philosophy is for the standard > distribution to be -w clean, so shouldn't everything be equally okay with > use warnings? Try it and see! I'm serious. It'll be an interesting experiment. BTW The modules themselves might be -w clean, but the testing suite certainly isn't! > >Hmm, its damned silly that you can't give two modules on the command > >line. > > ??? > > $ perl -Mwarnings -Mstrict -le 'print keys %INC' > Exporter.pmCarp.pmstrict.pmwarnings.pm Sorry, misspoke. That works. This does not: 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.
- Re: Warnings, strict, and CPAN Peter Scott
- Re: Warnings, strict, and CPAN schwern
- Re: Warnings, strict, and CPAN Peter Scott
- Re: Warnings, strict, and CPAN Peter Scott
- Re: Warnings, strict, and CPAN Edward Peschko
- Re: Warnings, strict, and CPAN schwern
- Re: Warnings, strict, and CPAN Peter Scott
- Re: Warnings, strict, and CPAN Edward Peschko
- Re: Warnings, strict, and CPAN schwern
- Re: Warnings, strict, and CPAN Peter Scott
- Re: Warnings, strict, and CPAN schwern
- Re: Warnings, strict, and CPAN Peter Scott
- Re: Warnings, strict, and CPAN Simon Cozens
- [PATCH perl.c] Fixing PERL5OPT (was Re: Warnings, strict... schwern
- Re: [PATCH perl.c] Fixing PERL5OPT (was Re: Warnings, st... Jarkko Hietaniemi
- Re: [PATCH perl.c] Fixing PERL5OPT (was Re: Warnings, st... Jarkko Hietaniemi
- Re: Warnings, strict, and CPAN Peter Scott
- Re: Warnings, strict, and CPAN schwern
- Re: Warnings, strict, and CPAN Edward Peschko
- Re: Warnings, strict, and CPAN schwern
- Re: Warnings, strict, and CPAN Edward Peschko