"be consistent" | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Would $val = $val || $default_val; work for you?
Edit: Bah. Beaten to the punch :p and L~R's answer is more succinct anyway. In reply to Re: default values
by mpd
|
|