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

Re: postfix dereference syntax

Thread Previous | Thread Next
From:
Aristotle Pagaltzis
Date:
July 3, 2013 16:19
Subject:
Re: postfix dereference syntax
Message ID:
20130703161914.GA22642@fernweh.plasmasturm.org
* Kent Fredric <kentfredric@gmail.com> [2013-07-03 17:50]:
> I like it more and more already.  '->[ ]' says far more to me about
> dereffing the invocant than ->@ does.

Yes, and for that reason I would like to find some solution for its
problems… rather than starting to come up with new features for it
already. :-)

If a Perl 6-ish “whatever” is added to Perl 5 – and the idea has come up
in various ways at various times so even if I’d rather table it now, it
seems to be worth thinking about eventually –, I would like for it to
follow some sort of syntactical model that fits elsewhere, rather than
just be a one-off special syntax only within one special form of the
deref syntax. That’s… ugly. That’s template engine language style.

Regards,
-- 
Aristotle Pagaltzis // <http://plasmasturm.org/>

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