Just another Perl shrine | |
PerlMonks |
Re: Use a CPAN module that is not installed! Is this a good idea?by syphilis (Archbishop) |
on Jun 18, 2018 at 04:55 UTC ( [id://1216836]=note: print w/replies, xml ) | Need Help?? |
Thoughts? Take a look at Acme::Everything, which takes the idea a little further. AIUI, one can do stuff like: and if Math::GMP has been installed, then it will be loaded and the code executed. If Math::GMP has not been installed, then it (and any missing dependencies) will be installed, loaded, and the code then executed. However, I've not tried Acme::Everything - nor am I likely to ;-) I think it was done merely as a quirky bit of fun. Cheers, Rob
In Section
Seekers of Perl Wisdom
|
|