develooper Front page | perl.perl5.porters | Postings from July 2013

Re: postfix dereference syntax

Thread Previous | Thread Next
From:
David Golden
Date:
July 3, 2013 17:20
Subject:
Re: postfix dereference syntax
Message ID:
CAOeq1c-00rngEqwyZFUwyvTVyUELvcbedNJ0tbEAWhWAjJU--w@mail.gmail.com
On Wed, Jul 3, 2013 at 11:55 AM, Kent Fredric <kentfredric@gmail.com> wrote:
>
> If they eventually arrived together as one feature ( which I see it
> possible of doing ), you could control their scope with a lexical
> pragma, a lexical pragma that disabled multidimensional arrays at the
> same time.

There's a big difference between 'turn on this feature' and 'turn off
this mis-feature' type lexical pragmas and 'swap this syntax for that
syntax' pragmas.

Much like "use dots", the lexical change you describe would offer yet
another dialect of Perl 5, and I think that's a bigger Perl 5 language
design decision that needs to be made independent of any particular
feature.

David



--
David Golden <xdg@xdg.me>
Take back your inbox! → http://www.bunchmail.com/
Twitter/IRC: @xdg

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