Re: RFC 140 (v1) One Should Not Get Away With Ignoring System Call Errors
[email protected] (Chaim Frenkel) 24 Aug 2000 19:42:51 -0400
| Newsgroups | perl.perl6.language.errors |
|---|---|
| Message-ID | <[email protected]> |
>>>>> "JH" == Jarkko Hietaniemi <[email protected]> writes: >> But the drawback would be that the actual victim may not be the primal >> cause. >> >> sub foo { >> my $fh = open(....); >> ... Lots more code ... >> return $fh; >> } >> >> $victim = foo; >> print $victim "I'm helpless"; JH> Tough. Not a nice attitude. The failure is not close to the cause. Neither in time or space. If it were closer to the open, at least an intellegent message might be displayed. Your way, nothing but. *ARRGGHHH*, tainted data, in Foo.pl at line 37 <chunk 12> (Why does that remind me of rogue?) <chaim> -- Chaim Frenkel Nonlinear Knowledge, Inc. [email protected] +1-718-236-0183