in reply to Re: code to grab the latest version of a module from CPAN?
in thread code to grab the latest version of a module from CPAN?

"I just want to download it, not install it." said the OP.

CPAN::Shell->get('My::Module') (untested) should download and extract into your .cpan directory - wherever that may be. AFAIK CPAN doesn't expose anything with any more control.