Parse::CPAN::Packages::Distribution
Represents a CPAN distribution. Note: The functions list_files and get_file_from_tarball work only if a mirror directory was supplied for parsing or the package file was situated inside a cpan mirror structure.
Returns the packages in the distribution.
Adds a package to the distribution.
Tries to list all files in the distribution.
Tries to retrieve the contents of a file from the distribution.
To install Parse::CPAN::Packages, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Parse::CPAN::Packages
CPAN shell
perl -MCPAN -e shell install Parse::CPAN::Packages
For more information on module installation, please visit the detailed CPAN module installation guide.