libmodule-want-perl binary package in Ubuntu Lunar ppc64el
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.
Publishing history
Date | Status | Target | Component | Section | Priority | Phased updates | Version | ||
---|---|---|---|---|---|---|---|---|---|
2022-11-24 18:29:12 UTC | Published | Ubuntu Lunar ppc64el | release | universe | perl | Optional | 0.6-5 | ||
|
|||||||||
Deleted | Ubuntu Lunar ppc64el | proposed | universe | perl | Optional | 0.6-5 | |||
|
|||||||||
2022-11-24 18:30:35 UTC | Superseded | Ubuntu Lunar ppc64el | release | universe | perl | Optional | 0.6-4 | ||
|
|||||||||
2022-11-25 18:10:10 UTC | Deleted | Ubuntu Lunar ppc64el | proposed | universe | perl | Optional | 0.6-4 | ||
|
|||||||||
2022-11-11 10:10:04 UTC | Superseded | Ubuntu Lunar ppc64el | release | universe | perl | Optional | 0.6-3 | ||
|