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

Re: Should potentially confusing labels emit a warning?

Thread Previous | Thread Next
From:
Paul Johnson
Date:
May 8, 2008 05:11
Subject:
Re: Should potentially confusing labels emit a warning?
Message ID:
20080508121130.GM10869@pjcj.net
On Thu, May 08, 2008 at 01:35:08PM +0200, Aristotle Pagaltzis wrote:

[ BEGIN {} vs BEGIN: {} ]

> 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.

I don't have particularly strong feelings about this either way, but I
would lean towards leaving things as they are, at least by default.

>                         (What was the consensus on making
> `use warnings` mean something other than `use warnings 'all'`?)

I don't recall any dissent, but I suppose it hasn't hit the top to the
TODO list of anyone which sufficient appropriately shaped tuits.

-- 
Paul Johnson - paul@pjcj.net
http://www.pjcj.net

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