Balík: libmodule-want-perl (0.6-5)
Odkazy pre libmodule-want-perl
Zdroje Debian:
Stiahnuť zdrojový balík libmodule-want-perl:
- [libmodule-want-perl_0.6-5.dsc]
- [libmodule-want-perl_0.6.orig.tar.gz]
- [libmodule-want-perl_0.6-5.debian.tar.xz]
Správcovia:
Externé zdroje:
- Domovská stránka [metacpan.org]
Podobné balíky:
module to check @INC only once for wanted modules
Sometimes you want to lazy load a module for use in, say, a loop or function. First you do the eval-require but then realize if the module is not available it will re-search @INC each time. So then you add a lexical boolean to your eval and do the same simple logic all over the place.
Module::Want encapsulates that logic so that have_mod() is like eval { require X; 1 } but if the module can't be loaded it will remember that fact and not look in @INC again on subsequent calls.
Ostatné balíky súvisiace s balíkom libmodule-want-perl
|
|
|
|
-
- dep: perl
- Practical Extraction and Report Language od Larryho Walla
Stiahnuť libmodule-want-perl
Architektúra | Veľkosť balíka | Nainštalovaná veľkosť | Súbory |
---|---|---|---|
all | 12.1 kB | 30.0 kB | [zoznam súborov] |