Scroll to navigation

Parse::CPAN::Packages::Distribution(3pm) User Contributed Perl Documentation Parse::CPAN::Packages::Distribution(3pm)

NAME

Parse::CPAN::Packages::Distribution - represents a CPAN 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.

2022-06-16 perl v5.34.0