Use lexical ones in the first place.

  open my $fh, '<', $filename or die "open $filename, stopped" ;


And if you're gogint to die you might as well say why :)

... or die "open $filename failed: $!" ;

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to