in reply to ( my ($argCount,@argValues) = @_ ) == Bad Idea?
It's necessary to explicity force @argValues into a scalar context for this to work, because again the parens from my() create a list context.my(@argValues) = @_; my($argCount) = scalar(@argValues); #or $#argValues + 1
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: Re: ( my ($argCount
by btrott (Parson) on Feb 10, 2000 at 23:43 UTC |