Path to this page:
./
devel/p5-UNIVERSAL-require,
Perl module to require() from a variable
Branch: CURRENT,
Version: 0.19nb3,
Package name: p5-UNIVERSAL-require-0.19nb3,
Maintainer: pkgsrc-usersUNIVERSAL::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 alot more sense to
someone who's not a ninth level Perl acolyte.
Required to run:[
lang/perl5]
Required to build:[
pkgtools/cwrappers]
Master sites: (Expand)
Filesize: 6.136 KB
Version history: (Expand)
- (2024-11-16) Updated to version: p5-UNIVERSAL-require-0.19nb3
- (2023-07-06) Updated to version: p5-UNIVERSAL-require-0.19nb2
- (2022-06-28) Updated to version: p5-UNIVERSAL-require-0.19nb1
- (2021-07-04) Updated to version: p5-UNIVERSAL-require-0.19
- (2021-05-25) Updated to version: p5-UNIVERSAL-require-0.18nb7
- (2020-09-01) Updated to version: p5-UNIVERSAL-require-0.18nb6
CVS history: (Expand)