in reply to Re: Spliting an mbox file
in thread Spliting an mbox file
Using the high precedence || operator means that the dies are superfluous. You should use the low precedence or operator instead. .open OUT, $out || die "Can't open $out!\n";
Or, use parentheses if one wants to use '||' ...
open( OUT, $out ) || die "Can't open $out: $!\n";
|
|---|