in reply to Best method of assigning "default" values?
Of course, some monk more clever than I will figure out a way to shorten it ;)my $val = defined($input_ref->{do_this}) ? $input_ref->{do_this} : "My + Default Value";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Best method of assigning "default" values?
by davidrw (Prior) on Jun 28, 2005 at 15:50 UTC |