NAME

Parse::CPAN::Packages::Distribution

DESCRIPTION

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.

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.

get_file_from_tarball( $filename )

Tries to retrieve the contents of a file from the distribution.