MATSUNO★Tokuhiro > OrePAN2-0.28-TRIAL > OrePAN2::Index

Download:
OrePAN2-0.28-TRIAL.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Source   Latest Release: OrePAN2-0.30

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.

syntax highlighting: