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

Re: postfix dereference syntax

Thread Previous | Thread Next
Aristotle Pagaltzis
July 3, 2013 16:19
Re: postfix dereference syntax
Message ID:
* Kent Fredric <> [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.

Aristotle Pagaltzis // <>

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About