use strict; use warnings; open my $fh, "<", "bogus file" or die "unable to open file $!";