Perl arguments are passed by reference. Change them in the sub, and they'll change in the caller and vice-versa.
In reply to Re: How come @_ gets changed here?
by ikegami
in thread How come @_ gets changed here?
by pritesh_ugrankar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |