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

Re: Should potentially confusing labels emit a warning?

Thread Previous | Thread Next
Paul Johnson
May 8, 2008 05:11
Re: Should potentially confusing labels emit a warning?
Message ID:
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 -

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