PRL> Exceptions are objects belonging to some C<Exception> class.  C<throw>ing
PRL> an exception creates the object; therefore, C<EXCEPTION> above is just a
PRL> class name (possibly including some C<::>).
PRL> 
PRL> The C<exception> function is just syntactic sugar for creating a new
PRL> exception class;it merely amounts to C<@EXCEPTION::ISA = 'Exception'>.

Often people want to create hierarchies of exception classes. In proposed
implementation 'exeption' keyword doesn't allow to create exception classes
subclassed from other exception classes.

IMHO in such implementation this keyword will not be very usefull.

-- 
Ilya Martynov
AGAVA Software Company, http://www.agava.com


Reply via email to