Better to let open report why opening fails should that occur:
open(my $fh, "<", $filename) or die "Can't open $filename: $!";
In reply to Re^4: comparing lines of data
by marto
in thread comparing lines of data
by Scotmonk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |