Problems? Is your data what you think it is? | |
PerlMonks |
Re^5: "open" Best Practicesby hippo (Bishop) |
on Jul 13, 2019 at 10:25 UTC ( [id://11102786]=note: print w/replies, xml ) | Need Help?? |
What do you think about if( open($fh, '<', $foo) || open($fh, '<', $bar) Dogfood time? ;-)
I take your point though and there it's arguable whether on not it's control flow. I would not object to either || or or in such a situation.
In Section
Meditations
|
|