John M. Dlugosz has asked for the wisdom of the Perl Monks concerning the following question:
Everyone knows that die/eval is Perl's exception handling mechanism. However, this primitive can be used in many different ways.
Looking at CPAN, I see a few modules that provide higher-level constructs, including Exception-1.4 by Pete Jordan (mentioned on another thread here, which got me looking), and Exception-Class-0.8 by Dave Rolsky. The former is not in ActiveState's Repository, but the latter is. Why?? Does that mean one is more mature, more often used, etc.?
In general, which of the many exception systems is worth learning and using? Or do they all have their issues? If anyone's used exception handling in general or one of these modules, can you post your thoughts, for comparisons?
Back to Seekers of Perl Wisdom