No such thing as a small change | |
PerlMonks |
Re: use alternate module if pm is not installedby hippo (Bishop) |
on Apr 07, 2021 at 09:20 UTC ( [id://11130942]=note: print w/replies, xml ) | Need Help?? |
This is one use case of Module::Load::Conditional which is itself a core module. Addendum: Having gone searching for something even more intuitive I have found Best which does exactly what you are after. Even though it isn't a core module, the docs include a section for coping with that. Perhaps this combination approach will serve you well. 🦛
In Section
Seekers of Perl Wisdom
|
|