develooper Front page | perl.perl5.porters | Postings from October 2017

[perl #132013] 'no formats'

Thread Previous
From:
Ed Avis via RT
Date:
October 31, 2017 16:02
Subject:
[perl #132013] 'no formats'
Message ID:
rt-4.0.24-8980-1509465720-1767.132013-15-0@perl.org
On Mon, 23 Oct 2017 22:10:46 -0700, tonyc wrote:

>Something like the attached?

Yes, that looks great (based on reading the documentation).

Although you have provided a few canned presets, I envisage that the exact selection would often be done in a 'style' module like Modern::Perl.  Personally, I would set it to a small change at first, only disabling those punctuation variables which are truly obscure and obsolete, like $[.

(I do still like the idea of 'no formats', with 'use formats' enabling both the format keywords and the associated punctuation variables, but I understand that it's kind of unrelated to the key issue in this bug, which is to get more useful diagnostics out of the parser for typing errors.)

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

Thread Previous


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