http://www.perlmonks.org?node_id=980653


in reply to ||= (poorly documented?)

In perlop - Assignment Operators, the example shown for += applies to all the op= operators. So,

$x ||= 2;

is equivalent to

$x = $x || 2;

-- Ken