So the only time this changes the value of $x is when $x is undefined. That's a short-hand way of writing:
$x = 0 if (!defined $x);
In reply to Re: Or, Or, Equals Zero, $x ||= 0
by markkawika
in thread Or, Or, Equals Zero, $x ||= 0
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |