Keep It Simple, Stupid | |
PerlMonks |
Re: or with a blockby maverick (Curate) |
on May 31, 2002 at 18:42 UTC ( [id://170803]=note: print w/replies, xml ) | Need Help?? |
I tend to do it like this:
It reads kinda nicely. "unless we can open the directory, yell" Some people might dislike that technique since the evalaution of the conditional has a side effect (that the directory is opened)...but I think it'd like it better than the right hand side of an inlined 'or' having one... ;)
/\/\averick
In Section
Seekers of Perl Wisdom
|
|