in reply to Re: How to deal with undefined returned variables.
in thread How to deal with undefined returned variables.
I take it that the difference between // and || is the difference between testing truthfulness and testing definedness.
Hence there is not difference between $a // $b and $a || $b unless $a is 0 or "".
It doesn't sound that useful to me.
|
---|
In Section
Seekers of Perl Wisdom