alla flaggor
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Källkod: libmodule-want-perl  ]

Paket: libmodule-want-perl (0.6-5)

Länkar för libmodule-want-perl

Screenshot

Debianresurser:

Hämta källkodspaketet libmodule-want-perl:

Ansvariga:

Externa resurser:

Liknande paket:

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.

Märken: Software Development: Perl Development, Bibliotek, Implemented in: Perl

Andra paket besläktade med libmodule-want-perl

  • beror
  • rekommenderar
  • föreslår
  • enhances

Hämta libmodule-want-perl

Hämtningar för alla tillgängliga arkitekturer
Arkitektur Paketstorlek Installerad storlek Filer
all 12,1 kbyte30,0 kbyte [filförteckning]