BSD Ports

devel/p5-Class-Loader 2.03nb18 NetBSD

Perl5 module for module loading and on-demand object creation

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
618415630a
License
artistic
Categories
devel, perl5
Package size
7.4 KiB, 12.0 KiB installed

Description

Certain applications like to defer the decision to use a particular module till runtime. This is possible in perl, and is a useful trick in situations where the type of data is not known at compile time and the application doesn't wish to pre-compile modules to handle all types of data it can work with. Loading modules at runtime can also provide flexible interfaces for perl modules. Modules can let the programmer decide what modules will be used by it instead of hard-coding their names.

Class::Loader is an inheritable class that provides a method, _load(), to load a module from disk and construct an object by calling its constructor. It also provides a way to map modules names and associated metadata with symbolic names that can be used in place of module names at _load().

In the other systems

SystemPortVersion
NetBSDdevel/p5-Class-Loader2.03nb18
FreeBSDdevel/p5-Class-Loader2.03_1
OpenBSDdevel/p5-Class-Loader2.03p2
DragonFlydevel/p5-Class-Loader2.03_1
HardenedBSDdevel/p5-Class-Loader2.03_1
GhostBSDdevel/p5-Class-Loader2.03_1

Install

Binary package:

pkgin install p5-Class-Loader

From pkgsrc:

cd /usr/pkgsrc/devel/p5-Class-Loader && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_642.03nb18
NetBSD 10.1 aarch642.03nb17
SmartOS / illumos x86_642.03nb18
macOS 15 arm642.03nb18

Dependencies

Run dependencies 1

Commit history 1

DateCommitCreditsLog message
618415630a wiz *: recursive bump for perl5 5.44.0