BSD Ports

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.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDdevel/p5-UNIVERSAL-require0.19 newestno data-[email protected]-
FreeBSDdevel/p5-UNIVERSAL-require0.19 newestnone known-[email protected]-
NetBSDdevel/p5-UNIVERSAL-require0.19nb5 newestnone known-[email protected]2026-07-16
DragonFlydevel/p5-UNIVERSAL-require0.19 newestnone known-[email protected]-
HardenedBSDdevel/p5-UNIVERSAL-require0.19 newestno data-[email protected]-
GhostBSDdevel/p5-UNIVERSAL-require0.19 newestno data-[email protected]-
OPNsensedevel/p5-UNIVERSAL-require0.19 newestno data-[email protected]-

Compare across BSDs

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
FileSizeSHA256
UNIVERSAL-require-0.19.tar.gz6283d467cd26e06c8c3b203fd3bc0796ae6c837ac5e310093c82267ff5df850f1a03
Master sites 1
  • CPAN