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";
In reply to Re^2: Spliting an mbox file
by parv
in thread Spliting an mbox file
by monger
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |