FreeBSD.software
Home/devel/p5-UNIVERSAL-require

p5-UNIVERSAL-require

0.19

Perl module to require() from a variable

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.

Origin: devel/p5-UNIVERSAL-require
Category: devel
Size: 14.7KiB
License: ART10, GPLv1+
Maintainer: perl@FreeBSD.org
Dependencies: 1 packages
Required by: 55 packages
$pkg install p5-UNIVERSAL-require

Dependencies (1)

Required By (55 packages)

More in devel