It's your choice: that's the beauty of Perl.
That said, I don't think I've ever seen the first version in use (although it's common with or aka ||). Of the other two, it depends on the complexity of the expression, the function call, and which you think is "more important", and you'd therefore like to read first in your code.
In reply to Re: Conditional style (if, &&) query
by tommyw
in thread Conditional style (if, &&) query
by traveler
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |