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

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

A coworker passed on the following bit of code, which, as far as I can tell, does nothing:
$x ||= 0;
$x = -1; $x ||= 0; print $x; -1 $x = 0; $x ||= 0; print $x; 0 $x = 2; $x ||= 0; print $x; 2 $x = 3; $x ||= 0; print $x; 3 $x = 123132; $x ||= 0; print $x; 123132
Any ideas on how or why something like Or, Or, Equals Zero would be used?