Well, not a problem but you'd have to call it as sub2( $_[0] => @_[1..$#_] ). Then again, you play with prototypes you're going to get burned. Or was that matches . . .
In reply to Re: Re: Scalar context changes bareword value?
by Fletch
in thread Stumped when passing barewords
by crenz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |