in reply to Re: Why does assignment change the result?
in thread Why does assignment change the result?
"@_ 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
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Why does assignment change the result?
by johngg (Canon) on May 24, 2007 at 11:54 UTC | |
by NetWallah (Canon) on May 24, 2007 at 14:56 UTC | |
by johngg (Canon) on May 24, 2007 at 16:13 UTC |