1Parse::CPAN::Packages::UPsaecrkaCgoen(t3r)ibuted Perl DoPcaurmseen:t:aCtPiAoNn::Packages::Package(3)
2
3
4
6 Parse::CPAN::Packages::Package
7
9 Represents a CPAN Package. Note: The functions filename and
10 file_content work only if a mirror directory was supplied for parsing
11 or the package file was situated inside a cpan mirror structure.
12
14 filename
15 Tries to guess the name of the file containing this package by looking
16 through the files contained in the distribution it belongs to.
17
18 file_content
19 Tries to return the contents of the file returned by filename().
20
21 subs
22 Experimental function. Tries to return the names of all subs in the
23 package.
24
25 has_matching_sub( $regex )
26 Experimental function. Tries to see if any sub name in the package
27 matches the regex.
28
29
30
31perl v5.32.0 2020-07-28 Parse::CPAN::Packages::Package(3)