![]() |
|
There's more than one way to do things | |
PerlMonks |
Re^2: How not to test exceptionsby adrianh (Chancellor) |
on Jul 22, 2005 at 11:28 UTC ( #477182=note: print w/replies, xml ) | Need Help?? |
I usually test my exceptions using Test::Exception, but I don't know if it plays well with the Error module. It should behave perfectly. Error is just some syntactic sugar around Perl's normal exception handling system. The OP's test would become the IMHO much more readable:
In Section
Meditations
|
|