NAME
Parse::Fedora::Packages - Parse Fedora package information
SYNOPSIS
use Parse::Fedora::Packages;
my $f = Parse::Fedora::Packages->new;
$f->parse_primary("primary.xml");
my @all = $f->list_packages();
print $all[0]->{name};
print $all[0]->{version};
print $all[0]->{summary};
print $all[0]->{description};
print $all[0]->{url};
METHODS
new
Constructor
my $p = Parse::Fedora::Packages->new
parse_primary
Given a primary.xml file it will read it into memory and parse it.
Returns nothing.
Throws exception if the file is invalid xml.
$p->parse_primary("primary.xml");
reported_count_packages
returns list of packages (sub xml)
count_packages
returns number of packages