in reply to default values
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 Section
Seekers of Perl Wisdom
in reply to default values
Edit: Bah. Beaten to the punch :p and L~R's answer is more succinct anyway.
|
---|