SPUG: Variable in subroutines to check number of args?

John Costello cos at indeterminate.net
Wed Jul 12 14:31:58 PDT 2006

On Wed, 12 Jul 2006, Tim Maher wrote:
> You can use the following to load a variable with what you want:
>    my $argc = @_; # get #-of-elements from @_ (sub-argument) array

How painfully obvious.

May I distract all of you with the 'use bytes' pragma while I run away?

More information about the spug-list mailing list