in reply to eval horrors
Alternately, check your opens:use 5.10.1; use autodie;
I also suggest you get used to using parentheses around your function calls to make them easier to read and parse, although that isn’t really the problem here.open(F, "<", $filename) || die "can't open $filename: $!";
|
|---|