Wouldn't it be simpler to unravel
tomy($ret) ||= foo();
and process it accordingly? The way it's implemented now is really confusing to the user.my($ret) = $ret || foo();
In reply to Re^2: Why are "a ||= b" and "a = a || b" different?
by saintmike
in thread Why are "a ||= b" and "a = a || b" different?
by saintmike
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |