There's a third way: Parens can be used to override precedence.
return ( something() or croak "Times are a'croaking" );
In reply to Re^2: Possible precedence issue with control flow operator
by ikegami
in thread Possible precedence issue with control flow operator
by will_
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |