open(INFH, "<$file") #### eval { open(INFH, "<$file") or die "can't find input file"; }; print "Error $@", "failed" if ($@);