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

[perl #126715] Deprecate barewords?

Thread Previous | Thread Next
Ed Avis via RT
November 23, 2015 18:01
[perl #126715] Deprecate barewords?
Message ID:
>I'd say issue a deprecation warning once we have a schedule were the feature is removed, and replaced by something else.

I think in the case of barewords the replacement feature has been present in Perl for a while...

Instead of 

    print hello;

you should, in the new way of doing things, write

    print 'hello';

>Deprecation does not mean "I don't like the style, so other shall not use it".

Indeed not.  It may however be a case of: nobody whatsoever uses this style, and so it is not doing any good to keep it (while it does cruft up the language somewhat).  Hence this request.  To reiterate: I am *asking* whether anybody uses barewords.  If they are still used, then close this bug and keep them.

via perlbug:  queue: perl5 status: open

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