If you don't mind CPANPLUS:
CPANPLUS::Backend->new->fetch( modules => ['Name::Of::Module'], fetchdir => '/directory/where/you/want/it', );
In reply to Re: code to grab the lates version of a module from CPAN?
by adrianh
in thread code to grab the latest version of a module from CPAN?
by perrin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |