my %defaults = ( bootpw => undef ); # is bootpw set to default? if (defined $defaults{bootpw}) { print "Yes!\n"; } else { print "No.\n"; }
In reply to Re: Default Values in Subroutines
by repellent
in thread Default Values in Subroutines
by walkingthecow
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |