"@_ is a reference, and change its value will be seen in the calling func"
Er - NO. From perldoc perlsub
The array @_ is a local array, but its elements are aliases for the actual scalar parameters.
So, you are wrong on 2 counts:
"An undefined problem has an infinite number of solutions." - Robert A. Humphrey "If you're not part of the solution, you're part of the precipitate." - Henry J. Tillman
In reply to Re^2: Why does assignment change the result?
by NetWallah
in thread Why does assignment change the result?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |