Commit graph

2 commits

Author SHA1 Message Date
bad
4b09b84fff Update devel/p5-UNIVERSAL-require to 0.11.
Changes since 0.10:

0.11  Sat Nov 11 18:13:20 CST 2006
    * Sped up require() by about 400% for already loaded modules.
      [rt.cpan.org 21141]
    - Fix the test for the changed version error in 5.10.
2007-01-10 22:04:15 +00:00
rillig
084cc7de04 Imported p5-UNIVERSAL-requirefrom pkgsrc-wip.
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 alot more sense to
someone who's not a ninth level Perl acolyte.

WWW: http://search.cpan.org/dist/UNIVERSAL-require/

Packaged by Roman Kulik.
2006-01-21 10:42:13 +00:00