I always thought the precedence was:
open FH, $file || die $!;
or
open (FH, $file) or die $!;
...not sure why I thought that. Looking at it now, I can see why it needs to be the other way around...doh.
open FH, $file || die $!;
or
open (FH, $file) or die $!;
...not sure why I thought that. Looking at it now, I can see why it needs to be the other way around...doh.