This and other RFCs are available on the web at
http://dev.perl.org/rfc/
=head1 TITLE
Exception handling syntax proposal.
=head1 VERSION
Maintainer: Peter Scott <[EMAIL PROTECTED]>
Date: 8 Aug 2000
Version: 1
Mailing List: [EMAIL PROTECTED]
Number: 63
=head1 ABSTRACT
This RFC proposes that the Perl 6 exception handling syntax be copied from
that used in Graham Barr's C<Error.pm> module.
=head1 DESCRIPTION
Honestly, if I had any changes, additions, or enhancements to suggest, I'd
put them here. But I've been using C<Error.pm> for three years without any
coming to mind. (Well, maybe one: one could wish for the option for
uncaught exceptions to trigger C<confess> instead of C<die>.) Minor
problems I've encountered have no ramifications for the
interface. (Obviously it would no longer be necessary to say C<use Error> :-)
=head1 IMPLEMENTATION
How this gets translated to live in the core I am not about to
say. <$SIG{__DIE__}> needs to be triggered only as a I<last> resort
instead of firing immediately, since it messes with the mind of this and
every other decent exception handling mechanism. Perhaps it should be axed
altogether.
=head1 REFERENCES
C<http://search.cpan.org/doc/GBARR/Error-0.13/Error.pm>