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

[perl #126715] Deprecate barewords?

Thread Previous | Thread Next
From:
Ed Avis via RT
Date:
November 23, 2015 21:12
Subject:
[perl #126715] Deprecate barewords?
Message ID:
rt-4.0.18-11191-1448313117-917.126715-15-0@perl.org
Abigail is right: STDERR is called a 'bareword filehandle'.  I should have said 'deprecate barewords-as-strings'.

Although an Acme-namespace module might not be enough by itself to establish a current 'use' of this feature, if F.C. has plenty of code that relies on treating barewords as strings, I guess that vetoes the proposal.  I do still think that Perl's grammar has some musty corners that can be cleaned up, of which bareword strings are one example.  But I would not push through such a change against existing, working code.

IMHO the warning on 'future reserved word' is a bit useless and could be scrapped, but I will file a separate bug for that.

---
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