in reply to Re^2: Can @_ be extended?
in thread Can @_ be extended?
Update:
I note that this:
works as well.sub setmode ($\@) { our (@array,$val); ($val,*array) = @_; splice (@array, 1, 0, $val); }
--hsm
"Never try to teach a pig to sing...it wastes your time and it annoys the pig."
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Can @_ be extended?
by BrowserUk (Patriarch) on Feb 11, 2005 at 08:56 UTC |