note
LanX
I always use <C>or</C> in such situations, and I dislike perldocs which do otherwise, because these are invitations for refactoring problems.<P>
Personally I use <C>||</C> only in
<UL>
<LI> in arithmetic expressions <C>$x = $y || $z</C>
<LI> to override false defaults were <C>$x ||= $y</C>
</UL><P>
<div class="pmsig"><div class="pmsig-708738">
<!--nowiki--><p>Cheers Rolf<br>
<sub>(addicted to the Perl Programming Language :)
<br> <i> [id://1153804|Wikisyntax for the Monastery]</i>
</sub>
<!--nowiki-->
</div></div><P>
<H5> update</H5><P>
swapped $a, $b with $y,$z to appease hippo ;-)<!-- Wiki2Monks {"version":1.161} -->
11133124
11133493