You don't tell us how it fails for you (besides the obvious syntax error).
Perl flattens passed parameters into @_. perlsub explains some more of that.
In reply to Re: Passing variables into a subroutine
by Corion
in thread Passing variables into a subroutine
by Freezer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |