Re: On the case for exception-based error handling.
[email protected] (Tom Christiansen) Tue, 22 Aug 2000 15:06:54 -0600
| Newsgroups | perl.perl6.language.errors |
|---|---|
| Message-ID | <1680.966978414@chthon> |
>> I don't see how it gets more complicated if you really want to
>> ignore errors. If you really want to ignore errors, you have to do
>> this in Perl 5 right now anyway, but you say eval { ... }; instead.
> open ( FOO, "<$file" );
>ignores errors.
> eval ( open ( FOO, "<$file" ));
>ignores fatalities.
>However, if non-fatal errors are returned via exceptions, then they
>become harder to ignore than return codes that report non-fatal errors.
Have all here please looked at
use Fatal qw(:void open close);
yet?
thanks,
--tom