This is one of the biggest issue with Perl. @_ is a reference, and change its value will be seen in the calling func.
Any one didn't catch that at the very beginning is not a true saint.
In reply to Re: Why does assignment change the result?
by Anonymous Monk
in thread Why does assignment change the result?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |