devel/p5-Class-Base - The NetBSD Packages Collection

Useful base class for deriving other modules

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).

Build dependencies

pkgtools/mktools pkgtools/cwrappers

Runtime dependencies

devel/p5-Clone lang/perl5 lang/perl5

Binary packages

OSArchitectureVersion
NetBSD 10.0aarch64p5-Class-Base-0.09nb6.tgz
NetBSD 10.0aarch64p5-Class-Base-0.09nb6.tgz
NetBSD 10.0aarch64ebp5-Class-Base-0.09nb6.tgz
NetBSD 10.0aarch64ebp5-Class-Base-0.09nb6.tgz
NetBSD 10.0alphap5-Class-Base-0.09nb6.tgz
NetBSD 10.0alphap5-Class-Base-0.09nb6.tgz
NetBSD 10.0earmv4p5-Class-Base-0.09nb6.tgz
NetBSD 10.0earmv4p5-Class-Base-0.09nb6.tgz
NetBSD 10.0earmv6hfp5-Class-Base-0.09nb6.tgz
NetBSD 10.0earmv6hfp5-Class-Base-0.09nb6.tgz
NetBSD 10.0earmv6hfp5-Class-Base-0.09nb6.tgz
NetBSD 10.0earmv7hfp5-Class-Base-0.09nb6.tgz
NetBSD 10.0earmv7hfp5-Class-Base-0.09nb6.tgz
NetBSD 10.0earmv7hfp5-Class-Base-0.09nb6.tgz
NetBSD 10.0i386p5-Class-Base-0.09nb6.tgz
NetBSD 10.0i386p5-Class-Base-0.09nb6.tgz
NetBSD 10.0m68kp5-Class-Base-0.09nb6.tgz
NetBSD 10.0m68kp5-Class-Base-0.09nb6.tgz
NetBSD 10.0m68kp5-Class-Base-0.09nb6.tgz
NetBSD 10.0m68kp5-Class-Base-0.09nb6.tgz
NetBSD 10.0mips64ebp5-Class-Base-0.09nb6.tgz
NetBSD 10.0mips64ebp5-Class-Base-0.09nb6.tgz
NetBSD 10.0powerpcp5-Class-Base-0.09nb6.tgz
NetBSD 10.0powerpcp5-Class-Base-0.09nb6.tgz
NetBSD 10.0powerpcp5-Class-Base-0.09nb6.tgz
NetBSD 10.0sh3elp5-Class-Base-0.09nb6.tgz
NetBSD 10.0sh3elp5-Class-Base-0.09nb6.tgz
NetBSD 10.0sparc64p5-Class-Base-0.09nb6.tgz
NetBSD 10.0sparc64p5-Class-Base-0.09nb6.tgz
NetBSD 10.0sparcp5-Class-Base-0.09nb6.tgz
NetBSD 10.0sparcp5-Class-Base-0.09nb6.tgz
NetBSD 10.0vaxp5-Class-Base-0.09nb6.tgz
NetBSD 10.0vaxp5-Class-Base-0.09nb6.tgz
NetBSD 10.0vaxp5-Class-Base-0.09nb6.tgz
NetBSD 10.0x86_64p5-Class-Base-0.09nb6.tgz
NetBSD 10.0x86_64p5-Class-Base-0.09nb6.tgz
NetBSD 9.0aarch64p5-Class-Base-0.09nb6.tgz
NetBSD 9.0aarch64p5-Class-Base-0.09nb6.tgz
NetBSD 9.0alphap5-Class-Base-0.09nb6.tgz
NetBSD 9.0alphap5-Class-Base-0.09nb6.tgz
NetBSD 9.0earmv4p5-Class-Base-0.09nb6.tgz
NetBSD 9.0earmv4p5-Class-Base-0.09nb6.tgz
NetBSD 9.0earmv6hfp5-Class-Base-0.09nb6.tgz
NetBSD 9.0earmv6hfp5-Class-Base-0.09nb6.tgz
NetBSD 9.0earmv6hfp5-Class-Base-0.09nb6.tgz
NetBSD 9.0earmv7hfp5-Class-Base-0.09nb6.tgz
NetBSD 9.0earmv7hfp5-Class-Base-0.09nb6.tgz
NetBSD 9.0earmv7hfp5-Class-Base-0.09nb6.tgz
NetBSD 9.0i386p5-Class-Base-0.09nb6.tgz
NetBSD 9.0i386p5-Class-Base-0.09nb6.tgz
NetBSD 9.0m68kp5-Class-Base-0.09nb6.tgz
NetBSD 9.0m68kp5-Class-Base-0.09nb6.tgz
NetBSD 9.0m68kp5-Class-Base-0.09nb6.tgz
NetBSD 9.0powerpcp5-Class-Base-0.09nb6.tgz
NetBSD 9.0powerpcp5-Class-Base-0.09nb6.tgz
NetBSD 9.0powerpcp5-Class-Base-0.09nb6.tgz
NetBSD 9.0sparc64p5-Class-Base-0.09nb6.tgz
NetBSD 9.0sparc64p5-Class-Base-0.09nb6.tgz
NetBSD 9.0x86_64p5-Class-Base-0.09nb6.tgz
NetBSD 9.0x86_64p5-Class-Base-0.09nb6.tgz
NetBSD 9.3x86_64p5-Class-Base-0.09nb6.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.