Hello citi2015, and welcome to the Monastery!
The final sentence of the paragraph in perlsub you quote is this:
Assigning to the whole array @_ removes that aliasing, and does not update any arguments.
This was new to me. It answers your question, but I would be interested to know what motivated the design decision behind it.
Hope that helps,
| Athanasius <°(((>< contra mundum | Iustus alius egestas vitae, eros Piratica, |
In reply to Re: Accessing Arguments inside Subroutines via @_
by Athanasius
in thread Accessing Arguments inside Subroutines via @_
by citi2015
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |