BSD Ports

devel/p5-Module-Implementation 0.09_1 MidnightBSD

Loads one of several alternate underlying implementations for a module

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
artistic2
Categories
devel, perl5

Description

Module::Implementation abstracts out the process of choosing one of several underlying implementations for a module. This can be used to provide XS and pure Perl implementations of a module, or it could be used to load an implementation for a given OS or any other case of needing to provide multiple implementations.

Module::Implementation is only useful when you know all the implementations ahead of time. If you want to load arbitrary implementations then you probably want something like a plugin system, not this module.

In the other systems

SystemPortVersion
MidnightBSDdevel/p5-Module-Implementation0.09_1
FreeBSDdevel/p5-Module-Implementation0.09_1
OpenBSDdevel/p5-Module-Implementation0.09p0
NetBSDdevel/p5-Module-Implementation0.09nb12
DragonFlydevel/p5-Module-Implementation0.09_1

Install

Binary package:

mport install p5-Module-Implementation

From mports:

cd /usr/mports/devel/p5-Module-Implementation && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-Module-Implementation>0:devel/p5-Module-Implementation

Dependencies

As this port's Makefile names them.

Build 2

Runtime 2

Test 4

Build dependencies 2
Run dependencies 2

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 2
  • %%SITE_PERL%%/Module/Implementation.pm
  • %%PERL5_MAN3%%/Module::Implementation.3.gz
distinfo 1
FileSizeSHA256
Module-Implementation-0.09.tar.gz18553c15f1a12f0c2130c9efff3c2e1afe5887b08ccd033bd132186d1e7d5087fd66d
Master sites 1
  • CPAN