devel/cppunit misses a destructor declaration for one of its classes.
[pkgsrcv2.git] / devel / p5-Class-Base / DESCR
1 This module implements a simple base class from which other modules
2 can be derived, thereby inheriting a number of useful methods such
3 as new(), init(), params(), clone(), error() and debug().
4
5 For a number of years, I found myself re-writing this module for
6 practically every Perl project of any significant size. Or rather,
7 I would copy the module from the last project and perform a global
8 search and replace to change the names. Each time it got a little
9 more polished and eventually, I decided to Do The Right Thing and
10 release it as a module in it's own right.
11
12 It doesn't pretend to be an all-encompassing solution for every
13 kind of object creation problem you might encounter. In fact, it
14 only supports blessed hash references that are created using the
15 popular, but by no means universal convention of calling new() with
16 a list or reference to a hash array of named parameters. Constructor
17 failure is indicated by returning undef and setting the $ERROR
18 package variable in the module's class to contain a relevant message
19 (which you can also fetch by calling error() as a class method).