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

Re: [perl #126715] Deprecate barewords?

Thread Previous | Thread Next
Eirik Berg Hanssen
November 23, 2015 16:40
Re: [perl #126715] Deprecate barewords?
Message ID:
On Mon, Nov 23, 2015 at 4:47 PM, Abigail <> wrote:

> What is the gain by making this a mandatory warning? If noone is using
> it, adding a warning doesn't do much. If people are, what good does it
> them?

  It helps people who are not intentionally using this (mis-)feature, but
happen by accident to write code typically one-liners) that uses it (and do
not explicitly enable strictures nor warnings – typically in one-liners, I

  Like, forgetting to import a constant, or misspelling its name …


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