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

Re: Warnings, strict, and CPAN

Thread Previous | Thread Next
From:
Edward Peschko
Date:
February 18, 2001 14:18
Subject:
Re: Warnings, strict, and CPAN
Message ID:
20010218141819.B291@excitehome.net
On Sun, Feb 18, 2001 at 07:30:50PM -0000, Paul Marquess wrote:
> From: Edward Peschko [mailto:edwardp@excitehome.net]
>  
> ...
> > 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

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