in reply to Re: Why are "a ||= b" and "a = a || b" different?
in thread Why are "a ||= b" and "a = a || b" different?
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();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Why are "a ||= b" and "a = a || b" different?
by liverpole (Monsignor) on Mar 03, 2007 at 02:38 UTC | |
by saintmike (Vicar) on Mar 03, 2007 at 06:18 UTC | |
|
Re^3: Why are "a ||= b" and "a = a || b" different?
by diotalevi (Canon) on Mar 03, 2007 at 18:45 UTC | |
by saintmike (Vicar) on Mar 04, 2007 at 21:27 UTC | |
by diotalevi (Canon) on Mar 04, 2007 at 22:18 UTC | |
by saintmike (Vicar) on Mar 04, 2007 at 22:59 UTC | |
|
Re^3: Why are "a ||= b" and "a = a || b" different?
by xdg (Monsignor) on Mar 03, 2007 at 02:36 UTC |