laziness, impatience, and hubris | |
PerlMonks |
Re^2: Nested OR as a control structureby andyf (Pilgrim) |
on Jun 03, 2004 at 04:25 UTC ( [id://359920]=note: print w/replies, xml ) | Need Help?? |
Aye Tom,
For a while I suspected || and OR might be synonyms, it seems that || binds more strongly, so I get that 3rd example ok. Using $status to grab the result of whichever one finally ran is nice. I can use that. Cheers, Andy.
In Section
Seekers of Perl Wisdom
|
|