module_implementation

Loads one of several alternate underlying implementations for a module

bacaro: haikuports also on HaikuPorts
Also on HaikuPorts. module_implementation

Description

This module 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. This module 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.

Install

Channel stable v0.09-2

This app is curated in HaikuPorts. Install it from there, it is already available in HaikuDepot.

pkgman install module_implementation

Download version 0.09-2 (any) hpkg

Careful: the file comes from HaikuPorts' own server, but installing it by hand is not the way in. It is pkgman that resolves the dependencies an .hpkg does not carry with it, and a package installed on its own may simply not run. Use the pkgman command above, unless you know exactly why you want the file.

Reviews