![]() |
|
No such thing as a small change | |
PerlMonks |
Re: Re: Re: Re: open failure codeby davido (Cardinal) |
on Nov 27, 2003 at 05:47 UTC ( #310479=note: print w/replies, xml ) | Need Help?? |
Of course the same could be done just with proper logical short circuit operators. Prefer the low-precedence ones for this sort of thing:
That avoids trinaries and if/else's.
Dave "If I had my life to live over again, I'd be a plumber." -- Albert Einstein
In Section
Seekers of Perl Wisdom
|
|