/p5-Class-Base, Useful base class for deriving other modules
0.08, Package name:
p5-Class-Base-0.08, Maintainer: pkgsrc-users
This module implements a simple base class from which other modules
can be derived, thereby inheriting a number of useful methods such
as new(), init(), params(), clone(), error() and debug().
For a number of years, I found myself re-writing this module for
practically every Perl project of any significant size. Or rather,
I would copy the module from the last project and perform a global
search and replace to change the names. Each time it got a little
more polished and eventually, I decided to Do The Right Thing and
release it as a module in it's own right.
It doesn't pretend to be an all-encompassing solution for every
kind of object creation problem you might encounter. In fact, it
only supports blessed hash references that are created using the
popular, but by no means universal convention of calling new() with
a list or reference to a hash array of named parameters. Constructor
failure is indicated by returning undef and setting the $ERROR
package variable in the module's class to contain a relevant message
(which you can also fetch by calling error() as a class method).
Required to run:
Master sites: (Expand) SHA1:
Version history: (Expand)
- (2016-08-07) Updated to version: p5-Class-Base-0.08
- (2016-06-09) Updated to version: p5-Class-Base-0.06nb2
- (2015-06-12) Updated to version: p5-Class-Base-0.06nb1
- (2015-01-27) Updated to version: p5-Class-Base-0.06
- (2014-05-30) Updated to version: p5-Class-Base-0.05nb3
- (2013-06-01) Updated to version: p5-Class-Base-0.05nb2
CVS history: (Expand)
| 2016-08-07 08:21:49 by Wen Heping | Files touched by this commit (2) | |
Update to 0.08
Fix release (hopefully)
BUILD_REQUIRES vs TEST_REQUIRES (Kent Fredric)
| 2016-06-08 21:25:20 by Thomas Klausner | Files touched by this commit (2236) | |
Bump PKGREVISION for perl-5.24.
| 2015-11-03 04:29:40 by Alistair G. Crooks | Files touched by this commit (1995) |
Add SHA512 digests for distfiles for devel category
Issues found with existing distfiles:
No changes made to these distinfo files.
Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden). All existing
SHA1 digests retained for now as an audit trail.
| 2015-06-12 12:52:19 by Thomas Klausner | Files touched by this commit (3152) |
Recursive PKGREVISION bump for all packages mentioning 'perl',
having a PKGNAME of p5-*, or depending such a package,
| 2015-01-27 14:52:34 by Makoto Fujiwara | Files touched by this commit (2) | |
Update to 0.0.6
Add license to META files
Updating the Changes file
| 2014-05-30 01:38:20 by Thomas Klausner | Files touched by this commit (3049) |
Bump for perl-5.20.0.
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
| 2013-05-31 14:42:58 by Thomas Klausner | Files touched by this commit (2880) |
Bump all packages for perl-5.18, that
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package
Like last time, where this caused no complaints.
| 2012-10-31 12:19:55 by Aleksej Saushev | Files touched by this commit (1460) |
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.