Should I start using or consistently?For what it's worth, I always use or for statement modifiers and || as part of boolean expressions.
if ( $1 eq 'A' || $1 eq 'B' ) { ... } open my $fh, "<", $filename or die "can't open $filename: $!";
In reply to Re: || vs or
by FunkyMonk
in thread || vs or
by andreas1234567
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |