Jonathan Scott Duff wrote:
> 
> I've read this thread with some interest and I'm puzzled by something.
> Why are "objects" and "exceptions" always mentioned in the same
> breath?  Does one need objects to have exceptions?
> 
> Could someone enlighten me or point me at relevant references?

RFC 88 allows any Perl datum to be used as an exception.  RFC 96
proposed a standard exception object base class.  Given such a
base class, exception handling can do fancier things based on
instances of derivatives of the base class, and simpler things
when an exception is not such a derivative.

Yours, &c, Tony Olekshy

Reply via email to