devel/p5-UNIVERSAL-require 0.19 MidnightBSD
Perl module to require() from a variable
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- artistic, gpl+
- Categories
- devel, perl5
Description
UNIVERSAL::require - require() modules from a variable.
If you've ever had to do this...
eval "require $module";
to get around the bareword caveats on require(), this module is for you. It creates a universal require() class method that will work with every Perl module and its secure. So instead of doing some arcane eval() work, you can do this:
$module->require;
It doesn't save you much typing, but it'll make a lot more sense to someone who's not a ninth level Perl acolyte.
In the other systems
The newest version among them is 0.19, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| MidnightBSD | devel/p5-UNIVERSAL-require | 0.19 newest | no data | - | [email protected] | - |
| FreeBSD | devel/p5-UNIVERSAL-require | 0.19 newest | none known | - | [email protected] | - |
| NetBSD | devel/p5-UNIVERSAL-require | 0.19nb5 newest | none known | - | [email protected] | 2026-07-16 |
| DragonFly | devel/p5-UNIVERSAL-require | 0.19 newest | none known | - | [email protected] | - |
| HardenedBSD | devel/p5-UNIVERSAL-require | 0.19 newest | no data | - | [email protected] | - |
| GhostBSD | devel/p5-UNIVERSAL-require | 0.19 newest | no data | - | [email protected] | - |
| OPNsense | devel/p5-UNIVERSAL-require | 0.19 newest | no data | - | [email protected] | - |
Install
Binary package:
mport install p5-UNIVERSAL-require
From mports:
cd /usr/mports/devel/p5-UNIVERSAL-require && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-UNIVERSAL-require>0:devel/p5-UNIVERSAL-require
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.
Dependencies
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 2
- %%PERL5_MAN3%%/UNIVERSAL::require.3.gz
- %%SITE_PERL%%/UNIVERSAL/require.pm
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| UNIVERSAL-require-0.19.tar.gz | 6283 | d467cd26e06c8c3b203fd3bc0796ae6c837ac5e310093c82267ff5df850f1a03 |
Master sites 1
- CPAN