develooper Front page | perl.perl5.porters | Postings from November 2015

Re: [perl #126715] Deprecate barewords?

Thread Previous
Eirik Berg Hanssen
November 23, 2015 17:59
Re: [perl #126715] Deprecate barewords?
Message ID:
On Mon, Nov 23, 2015 at 6:55 PM, Abigail <> wrote:

> If everyone who doesn't enable warnings didn't chose to do so, you may
> have a point.
> Taken away *choice* from *everyone* just so someone somewhere may have
> a benefit doesn't sound me as a even remotely user friendly.

  The choice is not taken away – you just need to make it yourself:

$ perl -E 'sub foo :locked { }'
Use of :locked is deprecated at -e line 1.
$ perl -E 'no warnings "deprecated"; sub foo :locked { }'


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