in reply to Re: Accessing Arguments inside Subroutines via @_
in thread Accessing Arguments inside Subroutines via @_

> I would be interested to know what motivated the design decision behind it.

I think it follows the normal inner mechanism.

The elements are aliases not the array holding them.

Think about how shift @_ deletes an alias.

One might argue that the array should not be writable, but its sometimes necessary to rewrite @_ before doing a goto &sub .

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)

PS: Je suis Charlie!