| PPM-Make documentation | view source | Contained in the PPM-Make distribution. |
PPM::Make::Meta - Obtain meta information for a ppm package
my $meta = PPM::Make::Meta->new(dir => $some_dir);
$meta->meta();
foreach my $key (keys %{$meta->{info}}) {
print "$key has value $meta->{info}->{$key}\n";
}
This module attempts to obtain meta-information from the sources of a CPAN distribution that is needed to make a ppm package. One first creates the object as
my $meta = PPM::Make::Meta->new(dir => $some_dir);
with the required option dir => $some_dir specifying
the name of the directory containing the source of the
CPAN distribution. A call to
$meta->meta();
will then return available meta information as a
hash reference $meta->{info}, where the keys
are as follows.
This program is copyright, 2006 by Randy Kobes >r.kobes@uwinnipeg.ca<. It is distributed under the same terms as Perl itself.
| PPM-Make documentation | view source | Contained in the PPM-Make distribution. |