or something like that. I hope that helps.if ($#argv == 0){ $foo = 'default'; }else { $foo = shift; }
In reply to Re: Default subroutine parameters
by samgold
in thread Default subroutine parameters
by thelenm
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |