CPAN::API::HOWTO - a recipe book for programming with CPAN.pm
All of these recipes assume that you have put "use CPAN" at the top of your program.
my $distribution = CPAN::Shell->expand(
This returns a string of the form "AUTHORID/TARBALL". If you want the full path and filename to this distribution on a CPAN mirror, then it is .../authors/id/A/AU/AUTHORID/TARBALL.
my @modules = CPAN::Shell->expand(
You may also refer to a distribution in the form A/AU/AUTHORID/TARBALL.
the main CPAN.pm documentation
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install CPAN, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.