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.
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout home:aevseev/perl-UNIVERSAL-require && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
_service | 0000000058 58 Bytes | |
_service:download_files:UNIVERSAL-require-0.18.tar |
0000005885 5.75 KB | |
perl-UNIVERSAL-require.changes | 0000000149 149 Bytes | |
perl-UNIVERSAL-require.spec | 0000001871 1.83 KB |
Latest Revision
Alexander Evseev (aevseev)
committed
(revision 13)
Comments 0