NAME

OrePAN2::Index - Index

DESCRIPTION

This is a module to manipulate 02packages.details.txt.

METHODS

my $index = OrePAN2::Index->new(%attr)
$index->load($filename)

Load existing 02.packages.details.txt

my ($version, $path) = $index->lookup($package)

Lookup package from index.

$index->add_index($package, $version, $path)

Add new entry to the index.

$index->as_string()

Make index as string.