I'm wondering if there's an easier way.
You shouldn't ever need to use a close line
open my $fo, '<', "somefile" or die $!; ... blah blah # close($fo) implicit, not necessary
Any suggestions to make close fail?
use warnings; use strict; close (undef) or die;In reply to Re: how to make close() fail
by pvaldes
in thread how to make close() fail
by kgoess
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |