in reply to Re: Shift versus Sanity (shift is not like assignment from @_)
in thread Shift versus Sanity
If you want to modify it you must fetch the parameter
I don't know if you include this in "fetch". Technically you might fetch, but I wouldn't like to call it fetching the parameter(s).
-Anomo
I don't know if you include this in "fetch". Technically you might fetch, but I wouldn't like to call it fetching the parameter(s).
Cheers,sub foobar { @_ = @_; $_[0] =~ s/foo/bar/; $_[0]; }
-Anomo
In Section
Meditations