It's worth having a look at the lazy module on CPAN (with the caveat that I have never tried it myself).
Quick edit a few seconds after posting: Also have a look at its See Also section for other prior art.
In reply to Re: Installing CPAN Modules within BEGIN of PERL Script
by swl
in thread Installing CPAN Modules within BEGIN of PERL Script
by GhostCode
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |