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

Re: [perl #126715] Deprecate barewords?

Thread Previous | Thread Next
November 23, 2015 16:43
Re: [perl #126715] Deprecate barewords?
Message ID:
On Mon, Nov 23, 2015 at 05:40:41PM +0100, Eirik Berg Hanssen wrote:
> 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
> guess).
>   Like, forgetting to import a constant, or misspelling its name …

Forcing warnings upon users who have choosen not to enable warnings
doesn't sound to me as even remotely user friendly.


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