Re: Passing Variables in Subroutines

2001-04-30 Thread Dan Brown
There's a couple of problems that sound get you started. The first I see is that @_ is an array containing everything that was passed in. So when you did @parms = @_; The values of each element of @parms are as follows $parms[0] # first parameter which was $email $par

Re: Passing Variables in Subroutines

2001-04-30 Thread Johnathan Kupferer
> @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. Yo