SPUG: Variable in subroutines to check number of args?
sthoenna at efn.org
Wed Jul 12 19:09:45 PDT 2006
On Wed, Jul 12, 2006 at 02:31:58PM -0700, John Costello wrote:
> 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?
The use bytes pragma is almost never a good thing to use; you're not,
More information about the spug-list