2000-08-10-12:19:49 Peter Scott:
> Ah, got it.  Now we have actually two types of error from builtins:
> 
> Non-trapped (builtins return 0, undef, 1 :-) , n where n < # requests, etc).
> RFC 70 wants all these to be turned into optional exceptions if Fatal is used.

Ultimately, yes, that's my goal --- but RFC 70 really only asks that
it be possible to do Fatal.pm correctly, which it's currently not,
because of builtins that return errors, but which cannot be wrapped.

> Exceptions: the builtin die()s.  RFC 80 was actually only thinking
> about these, but clearly gets even more power if Fatal is used,
> when a whole bunch more exception classes come into play.

If you could sell that, I'd be one happy camper. But that's so much
more radical than just making all error-reporting builtins
wrappable, and so making it possible for Fatal.pm to finish the job,
that I gave up any hope of trying to sell it.

-Bennett

PGP signature

Reply via email to