DESCRIPTION

Represents a \s-1CPAN\s0 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.

METHODS

contains

Returns the packages in the distribution.

add_package

Adds a package to the distribution.

list_files

Tries to list all files in the distribution. Tries to retrieve the contents of a file from the distribution.