in reply to Re^10: Does @{ } copy arrays?
in thread Does @{ } copy arrays?
because the array has already been "prepared" for later modification without taking care about any rvalue context !
What? We're talking about a Perl that's fixed to not add the magic for rvalue $#a.
You said it would be easy to forget foo($#a) is an lvalue and that it's a common occurrence.
I replied that it's no biggie if it's true. That case can be handled if there is a need.
|
|---|