$fn = "non_existant_file"; open IN, "<$fn" or die "open: $fn: $!\n"; #### open: non_existant_file: no such file or directory