more useful options | |
PerlMonks |
Re: Passing $2 to a subby baku (Scribe) |
on Feb 13, 2001 at 23:03 UTC ( [id://58194]=note: print w/replies, xml ) | Need Help?? |
You can't use $_ in stead of @_ like that. You want to change the subroutine to one of:
The $x syntax only works for @x variables when followed by a subscript in []'s. See perlvars for LOTS of details :-)
In Section
Seekers of Perl Wisdom
|
|