Just another Perl shrine | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
> 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 .
In reply to Re^2: Accessing Arguments inside Subroutines via @_
by LanX
|
|