NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Structured exceptions? (Score:2)
What about using one of the structured Exception classes, so that people who create their own subclasses can create (and throw) their own exceptions based on the name of their module/subclass? Just a thought.
Reply to This
Re:Structured exceptions? (Score:1)
Actually, that's more or less exactly what I was thinking of doing. The various subclasses would know what to do with a
throw()depending on how the verbosity flag (for lack of a better word) was set.