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

Re: key/value hash slices summary

Thread Previous | Thread Next
Father Chrysostomos
July 14, 2013 00:43
Re: key/value hash slices summary
Message ID:
Ruslan Zakirov wrote:
> * lvalue functions. I think that returning a key/value slice from a lvalue
> function should be fatal, even if function is called as RHS.

That would not be consistent with other operators.

foreach(sub :lvalue { expr })

should be equivalent to


where caller and wantarray are not involved.

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