in reply to passing paramters to a sub
sub whatever( @ $ ); # declaration whatever(%list,$val); sub whatever( @ $ ) { my $val = pop( @_ ); my %list = @_; ... }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: passing paramters to a sub
by polettix (Vicar) on Aug 30, 2005 at 10:55 UTC | |
by monarch (Priest) on Aug 31, 2005 at 04:34 UTC |