"JupiterHost.Net" schreef: >> 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: $!" ;
Yes, I meant: open my $fh, '<', $filename or die "open $filename, stopped $!" ; The $! begins with "at bla -bla", so the "stopped" glues nicely. I don't remember where I copied it from, maybe a perldoc. -- Affijn, Ruud "Gewoon is een tijger." -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>