Paquet : libmodule-want-perl (0.6-2)
Liens pour libmodule-want-perl
Ressources Trisquel :
Télécharger le paquet source libmodule-want-perl :
- [libmodule-want-perl_0.6-2.dsc]
- [libmodule-want-perl_0.6.orig.tar.gz]
- [libmodule-want-perl_0.6-2.debian.tar.xz]
Responsable :
Original Maintainers:
- Debian Perl Group (Archive du courrier électronique)
- gregor herrmann
Ressources externes :
- Page d'accueil [metacpan.org]
Paquets similaires :
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.
Autres paquets associés à libmodule-want-perl
|
|
|
-
- dep: perl
- Larry Wall's Practical Extraction and Report Language
Télécharger libmodule-want-perl
Architecture | Taille du paquet | Espace occupé une fois installé | Fichiers |
---|---|---|---|
all | 11,1 ko | 57 ko | [liste des fichiers] |