how can one define default parameters for subroutines?
something like:
sub mysub($a, $b=5)
{}
or do i have to do a check like this after entering the sub:
sub mysub
{
($a, $b) = @_;
if (!$b) {$b=5;}
}
thx for help!
michael
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
