The @xx was having elements as array references. In subroutine you changed @xx values but the values were references so that only your array values were affected.
In reply to Re: Pass by Value does not work
by velusamy
in thread Pass by Value does not work
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |