./devel/p5-Class-Base, Useful base class for deriving other modules

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.09, Package name: p5-Class-Base-0.09, 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:
[lang/perl5] [devel/p5-Clone]

Required to build:
[pkgtools/cwrappers]

Master sites: (Expand)

SHA1: 09d9cdd8b59eadc19ae0a09d18108289bbf26010
RMD160: 6d84e801c4b7005bd0d3ea76442a4d943b9f3fe6
Filesize: 32.81 KB

Version history: (Expand)


CVS history: (Expand)


   2018-01-10 09:46:33 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
p5-Class-Base: update to 0.09.

0.09 2018-01-04
  [ DOCUMENTATION ]
    - Fix pod typo. (GH#4, knowledgejunkie)

  [ ENHANCEMENTS ]
    - clone method now deep clone.
    - a few minor refactorings.

  [ STATISTICS ]
    - code churn: 9 files changed, 139 insertions(+), 137 deletions(-)
   2017-06-05 16:25:36 by Ryo ONODERA | Files touched by this commit (2298)
Log message:
Recursive revbump from lang/perl5 5.26.0
   2016-08-07 08:21:49 by Wen Heping | Files touched by this commit (2) | Package updated
Log message:
Update to 0.08

Upstream changes:
0.08 2016.07.25
    Fix release (hopefully)

0.07 2016.07.25
    BUILD_REQUIRES vs TEST_REQUIRES  (Kent Fredric)
   2016-06-08 21:25:20 by Thomas Klausner | Files touched by this commit (2236) | Package updated
Log message:
Bump PKGREVISION for perl-5.24.
   2015-11-03 04:29:40 by Alistair G. Crooks | Files touched by this commit (1995)
Log message:
Add SHA512 digests for distfiles for devel category

Issues found with existing distfiles:
	distfiles/eclipse-sourceBuild-srcIncluded-3.0.1.zip
	distfiles/fortran-utils-1.1.tar.gz
	distfiles/ivykis-0.39.tar.gz
	distfiles/enum-1.11.tar.gz
	distfiles/pvs-3.2-libraries.tgz
	distfiles/pvs-3.2-linux.tgz
	distfiles/pvs-3.2-solaris.tgz
	distfiles/pvs-3.2-system.tgz
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)
Log message:
Recursive PKGREVISION bump for all packages mentioning 'perl',
having a PKGNAME of p5-*, or depending such a package,
for perl-5.22.0.
   2015-01-27 14:52:34 by Makoto Fujiwara | Files touched by this commit (2) | Package updated
Log message:
Update to 0.0.6
----------------
0.06 2014.08.26
    Add license to META files
    Updating the Changes file
   2014-05-30 01:38:20 by Thomas Klausner | Files touched by this commit (3049)
Log message:
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.