|Keep It Simple, Stupid|
Re^3: Order of execution of functions in listby LanX (Canon)
|on Sep 13, 2013 at 17:02 UTC||Need Help??|
> > returns an rvalue
FWIW: I think this code is easier to understand and demonstrates your point
I get the same results using the equivalent splice(@_,0,1)
Maybe Perl avoids copying of the values for performance reasons.
But since it's not documented, I doubt that this is reliable behavior.
( addicted to the Perl Programming Language)