Port details on branch 2022Q3 |
- p5-Module-Installed-Tiny Check if a module is installed, with as little code as possible
- 0.011 devel =0 0.011Version of this port present on the latest quarterly branch.
- Maintainer: sunpoet@FreeBSD.org
- Port Added: 2021-08-08 15:00:38
- Last Update: 2022-10-03 17:10:24
- Commit Hash: 8e193da
- Also Listed In: perl5
- License: ART10 GPLv1+
- WWW:
- https://metacpan.org/dist/Module-Installed-Tiny
- Description:
- To check if a module is installed (available), generally the simplest way is to
try to require() it. However, this actually loads the module. There are some
cases where this is not desirable: 1) we have to check a lot of modules
(actually loading the modules will take a lot of CPU time and memory; 2) some of
the modules conflict with one another and cannot all be loaded; 3) the module is
OS specific and might not load under another OS; 4) we simply do not want to
execute the module, for security or other reasons.
Module::Installed::Tiny provides a routine module_installed() which works like
Perl's require but does not actually load the module.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- p5-Module-Installed-Tiny>0:devel/p5-Module-Installed-Tiny
- To install the port:
- cd /usr/ports/devel/p5-Module-Installed-Tiny/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/p5-Module-Installed-Tiny
- pkg install p5-Module-Installed-Tiny
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: p5-Module-Installed-Tiny
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1664767874
SHA256 (Module-Installed-Tiny-0.011.tar.gz) = d1121ca939959cb5d221621bb2a10eb1cd08fe32b94bb315b2f378da3cb74f27
SIZE (Module-Installed-Tiny-0.011.tar.gz) = 21027
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- perl5>=5.32.r0<5.33 : lang/perl5.32
- Runtime dependencies:
-
- perl5>=5.32.r0<5.33 : lang/perl5.32
- This port is required by:
- for Build
-
- devel/p5-Complete-Sah
- for Run
-
- devel/p5-Complete-Sah
Configuration Options:
- No options to configure
- Options name:
- devel_p5-Module-Installed-Tiny
- USES:
- perl5
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|