in reply to Re^2: How not to test exceptions
in thread How not to test exceptions

The problems Error has are introduced when you introduce the sugar which is why any Exception using code which avoids this error will also avoid the sugar. You can't get that sugar without also introducing that class of bugs. Its inherent.

Replies are listed 'Best First'.
Re^4: How not to test exceptions
by jk2addict (Chaplain) on Jul 22, 2005 at 17:08 UTC
    While that maybe true, who knows that? I didn't. Users just find Error on CPAN, install it and go about try/catching none the wiser. Maybe someone knowledgeable about the inherant problems with Errors try/catch should submit a pod path, or at least rate it accordinly.