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

Re: postfix dereference syntax

Thread Previous | Thread Next
Father Chrysostomos
August 19, 2013 20:41
Re: postfix dereference syntax
Message ID:
Ricardo Signes wrote:
> We allow ->@* at the end of an expression that we would've allowed up to that
> point.  Of your examples above, which I've taken the liberty of numbering, #1
> and #2 qualify.  Of the rest, none do.
> So: "@{ $foo->[0] }" isn't so bad; generic interpolation form

Your response comes across as a bit ambiguous.

So will ->@* and ->@[ and ->@{ interpolate?

If so, what will the feature feature be called?  (Yes, we need a fea-
ture feature for that.)

If we have a feature feature, then should it govern the new syntax
altogether, or just its interpolation?

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