in reply to or before ||, for || comes before or
in thread beginner syntax question

While I understand your point and agree to a certain extent, I have to say that there is nothing wrong with using || in the following code:
open(FILE, "filename") || die "Can't open filename: $!";
There is more than one way to deal with operator precedence. One way is to substitute the or operator as you suggested. But a perfectly acceptable alternative is to use parentheses to make the precedence explicit. That's what was done is this case. It may make you nervous, but it's still perfectly acceptable (and in fact easier for novices to understand).

buckaduck