The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Parse::CPAN::Packages::Package

DESCRIPTION

Represents a CPAN Package. Note: The functions filename and file_content work only if a mirror directory was supplied for parsing or the package file was situated inside a cpan mirror structure.

METHODS

filename

Tries to guess the name of the file containing this package by looking through the files contained in the distribution it belongs to.

file_content

Tries to return the contents of the file returned by filename().