> @parms = @_; > ($user, $user_list, $tag) = split /,/, $parms; Did you mean: my($user, $user_list, $tag) = @_; Try using: use strict; at the top of every script. The problem is that @parms is not $parms. In fact, $parms is undefined, and use strict would point out this error. You shouldn't need a split here at all... unless I'm misunderstanding your intent. - Johnathan
- Passing Variables in Subroutines pbbruce
- Re: Passing Variables in Subroutines Johnathan Kupferer
- Re: Passing Variables in Subroutines Dan Brown