[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]
RE: A common base exception object for Perl - RFC
Redford, John writes:
| With a minimal base class you gain two things. First, all exception objects
| can be subclasses of Exception, permitting:
| $@->isa('Exception')
| as a common handler for any exception. Secondly, the author of an Exception
| subclass does not have to ever know about the '""' code. While simple
| looking, it would be a large distraction for people to have to read `perldoc
| overload` (or think they have to read it).
Good point; well answered.
Mx.
- References to:
-
"Redford, John" <John.Redford@fmr.com>
[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]