Path to this page:
./
devel/p5-UNIVERSAL-require,
Perl module to require() from a variable
Branch: pkgsrc-2012Q3,
Version: 0.13nb2,
Package name: p5-UNIVERSAL-require-0.13nb2,
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.
Master sites: (Expand)
SHA1: 8a9821f8cea25c089f7344ab4abb58d15e0f8651
RMD160: 60cf5807997d697f82b2082be52808b3367c208c
Filesize: 5.208 KB
Version history: (Expand)
- (2012-10-02) Package added to pkgsrc.se, version p5-UNIVERSAL-require-0.13nb2 (created)