I agree that those cases don't make much sense. But with long and complex condition statement, I occassionally break it in some way to help myself understand it, for example:
if (($a1 == $a2) && ($a3 == $a4) && (($a5 == $a6) || ($a7 == $a8)) ) { }
This way of breaking makes it clear (at least to me) that those lines are at the same level.
In reply to Re^3: perlstyle - Unclear wording
by pg
in thread perlstyle - Unclear wording
by tinita
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |