in reply to RE: Re: can i disable certain warnings?
in thread can i disable certain warnings?

Another way to write this is:
$myvalue ||= $defaultValue;
...of course, if $myvalue had a "0" as a legitgimate value, you would want something like:
defined $myvalue or $myvalue=$defaultValue;