open FH, 'foo.bar' or die "could not open"; #### open FH, 'foo.bar' or print 'could not open' and exit;