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

[perl #126715] Deprecate barewords?

Thread Previous | Thread Next
From:
bulk88 via RT
Date:
November 23, 2015 19:49
Subject:
[perl #126715] Deprecate barewords?
Message ID:
rt-4.0.18-13041-1448308155-1689.126715-15-0@perl.org
On Mon Nov 23 06:53:30 2015, ed wrote:
> Yes, by 'barewords' I meant to say the treatment of unquoted
> identifiers as strings, in cases where "use strict 'subs'" would give
> an error.  That is not the case for STDERR.
> 
> Barewords will give a warning "clash with future reserved word", but
> not if they have characters outside [a-z].
> 
> My question is first, whether anyone is still using this feature (I
> have never come across code that uses it outside of golfing and
> poetry, but I accept that different programmers have different
> styles), and if the answer to the first question is "no", whether it
> might be time to officially deprecate this feature.

https://metacpan.org/release/BULKDD/Acme-Win32-PEPM-0.02 uses them to pack .pm files. I've attached a sample packed .pm.

-- 
bulk88 ~ bulk88 at hotmail.com

---
via perlbug:  queue: perl5 status: open
https://rt.perl.org/Ticket/Display.html?id=126715

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About