BSD Ports

devel/p5-UNIVERSAL-require 0.19 FreeBSD

Perl module to require() from a variable

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
devel, perl5
Package size
8.8 KiB, 14.7 KiB installed

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

SystemPortVersion
FreeBSDdevel/p5-UNIVERSAL-require0.19
NetBSDdevel/p5-UNIVERSAL-require0.19nb5
DragonFlydevel/p5-UNIVERSAL-require0.19
MidnightBSDdevel/p5-UNIVERSAL-require0.19
HardenedBSDdevel/p5-UNIVERSAL-require0.19
GhostBSDdevel/p5-UNIVERSAL-require0.19
OPNsensedevel/p5-UNIVERSAL-require0.19

Install

Binary package:

pkg install p5-UNIVERSAL-require

From the ports tree:

cd /usr/ports/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

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.190.190.190.190.19
FreeBSD:14:quarterly0.190.19n/a0.190.19
FreeBSD:15:latest0.190.19n/a0.190.19
FreeBSD:15:quarterly0.190.19n/an/an/a
FreeBSD:16:latest0.190.19n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 1
Run dependencies 1
Required by 110

The first 100 are listed.

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

Commit history 0

No commits in the history this site was built from.