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

Re: Warnings, strict, and CPAN

Edward Peschko
February 18, 2001 14:18
Re: Warnings, strict, and CPAN
Message ID:
On Sun, Feb 18, 2001 at 07:30:50PM -0000, Paul Marquess wrote:
> From: Edward Peschko []
> ...
> > I'm beginning to think there should be an extra flag that turns 
> > *on* warnings
> > even if 'no warnings' is explicitly stated. This is the 'enable 
> > me to help you
> > out' flag. That way, it would be a lot easier for me as a module 
> > consumer help
> > find bugs in things that the module writer himself doesn't have a 
> > grip over.
> From perllexwarn:
>   -W
>   If the -W flag is used on the command line, it will enable 
>   all warnings throughout the program regardless of whether warnings 
>   were disabled locally using no warnings or $^W =0. This includes all 
>   files that get included via use, require or do. Think of it as the 
>   Perl equivalent of the ``lint'' command. 

hmm. No mention in the camel.

Ah well, i'll think of that when I write the RFC.

Ed Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About