NAME

Sman::IndexVersion - writes and reads sman's sman.index.version file

SYNOPSIS

# this module is intended for internal use by sman and sman-update
  # module appends ".version" and looks for that file
my $index_versions = new Sman::IndexVersion( $versionfile );
my $versions_hashref = $index_versions->get_versions();
# will have values like 'VERSION' and 'SMAN_DATA_VERSION'
$index_versions->set_versions( $versions_hashref );   # set them back
  

DESCRIPTION

Get/set the sman version information for a given indexfile

AUTHOR

Josh Rabinowitz <joshr>

SEE ALSO

sman.conf, sman-update, sman