in reply to Re^3: Why are "a ||= b" and "a = a || b" different?
in thread Why are "a ||= b" and "a = a || b" different?
Do you have any thoughts about why
refreshes $ret2 and not $ret1 with the result of the evaluation of foo() in scalar context as mentioned by varian ?($ret1, $ret2) ||= foo();
Update: typo fixed, thx diotalevi.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Why are "a ||= b" and "a = a || b" different?
by diotalevi (Canon) on Mar 04, 2007 at 22:18 UTC | |
by saintmike (Vicar) on Mar 04, 2007 at 22:59 UTC |