develooper Front page | perl.perl5.porters | Postings from May 2008

Re: Should potentially confusing labels emit a warning?

Thread Previous | Thread Next
Spiros Denaxas
May 8, 2008 04:41
Re: Should potentially confusing labels emit a warning?
Message ID:
On Thu, May 8, 2008 at 12:35 PM, Aristotle Pagaltzis <> wrote:
>  A Perl::Critic policy has been submitted for this, but it seems
>  to me that this is a potential bug worthy of attention from the
>  core. Now, I am hesitant on adding new warnings but I think in
>  this case it really is worthwhile; it could, after all, be
>  disabled easily enough. (What was the consensus on making
>  `use warnings` mean something other than `use warnings 'all'`?)
>  Regards,
>  --
>  Aristotle Pagaltzis // <>


I agree that this can potentially save people a fair amount of time when trying
to track down bugs in their code but I am somewhat hesitant of adding
a new warning just for it. Could this potentially be integrated in the
pragma and be explicitly printed only if the pragma is being used?


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