Don't forget to limit the scope of your file handles .. or just use lexicals:
while ( ... ) { open my $fh, '<', $inputFile or warn( "Unable to open analysis file $inputFile: $!\n" ); next unless defined $fh ... }
In reply to Re^2: how to prevent open from dying
by derby
in thread how to prevent open from dying
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |