in reply to Re: Strange modification of @_
in thread Strange modification of @_
I virtually never use fn("$var") instead of fn($var), but I guess if var is a global, including $1, $2, etc, then the safest thing to do is wrap it in quotes to copy the value.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Strange modification of @_
by ikegami (Patriarch) on Apr 23, 2009 at 22:05 UTC | |
by jrw (Monk) on Apr 24, 2009 at 20:23 UTC | |
by ikegami (Patriarch) on Apr 24, 2009 at 20:34 UTC | |
by jrw (Monk) on Apr 24, 2009 at 20:51 UTC | |
by ikegami (Patriarch) on Apr 24, 2009 at 21:58 UTC |