Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

fireartist's scratchpad

by fireartist (Chaplain)
on Jun 01, 2004 at 15:55 UTC ( #358159=scratchpad: print w/replies, xml ) Need Help??

$foo = $x || $y || $z; #This is much faster (and shorter to say) than: if ($x) { $foo = $x; } elsif ($y) { $foo = $y; } elsif ($z) { $foo = $z; }