develooper Front page | perl.perl5.porters | Postings from June 2008

Re: Fatal/autodie exception hierarchies for Perl 5

Thread Previous | Thread Next
Paul Fenwick
June 3, 2008 00:21
Re: Fatal/autodie exception hierarchies for Perl 5
Message ID:
G'day chromatic / p5p / p6l,

> Make a list of all possible types of exceptions, define them as roles, and 
> group them that way.  Any given exception can implement multiple roles (:CORE 
> and :io, for example, or a specialization of that role that also does :USER).

Excellent point.  I've been largely ignoring the user exceptions, and that 
they may wish to declare themselves as having an :io, :math, or similar role.

So, roles are in, I'll need to provide an appropriate interface for user 
code to make use of them.

Larry's post I'll be digesting on my trip home tonight. ;)



Paul Fenwick <> |
Director of Training                   | Ph:  +61 3 9354 6001
Perl Training Australia                | Fax: +61 3 9354 2681

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About