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

Re: postfix dereference syntax

Thread Previous | Thread Next
Johan Vromans
August 15, 2013 17:42
Re: postfix dereference syntax
Message ID:
Eric Brine <> writes:

> This features allows code to be placed where it's performed instead of far
> in advance.
> @{${$h{a}[0]}
> vs
> $h{a}[0]->@*

It still escapes me why @* was chosen instead of the much more logical
[] :


> (btw, can that arrow be omitted?)

This would have been an unnecessary question...

-- Johan

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