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
| System | Port | Version |
|---|---|---|
| MidnightBSD | devel/p5-Module-Implementation | 0.09_1 |
| FreeBSD | devel/p5-Module-Implementation | 0.09_1 |
| OpenBSD | devel/p5-Module-Implementation | 0.09p0 |
| NetBSD | devel/p5-Module-Implementation | 0.09nb12 |
| DragonFly | devel/p5-Module-Implementation | 0.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
p5-Module-Runtime>=0.012: devel/p5-Module-Runtimep5-Try-Tiny>=0: lang/p5-Try-Tiny
Runtime 2
p5-Module-Runtime>=0.012: devel/p5-Module-Runtimep5-Try-Tiny>=0: lang/p5-Try-Tiny
Test 4
p5-Test-Fatal>=0.006: devel/p5-Test-Fatalp5-Test-NoTabs>=0: devel/p5-Test-NoTabsp5-Test-Requires>=0: devel/p5-Test-Requiresp5-Test-Taint>=0: devel/p5-Test-Taint
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
| File | Size | SHA256 |
|---|---|---|
| Module-Implementation-0.09.tar.gz | 18553 | c15f1a12f0c2130c9efff3c2e1afe5887b08ccd033bd132186d1e7d5087fd66d |
Master sites 1
- CPAN