NAME

Collection::Storable - class for collections of data, stored in files.

SYNOPSIS

use File::Temp qw/ tempfile tempdir /;
my $tmp_dir = tempdir();
my $coll = new Collection::Storable:: $tmp_dir

DESCRIPTION

Class for collections of data, stored in files.

METHODS

new <path_to_root_of_store>

Creates a new Collection::Storable object.

my $coll = new Collection::Storable:: $tmp_dir

key2path <key1>[, <key2>, <keyn> ...]

translate keys to store path

return hash of

{
  <key1> => <relative path to key>

}

path2key <path1>[, <path1>, <pathX> ...]

translate store path to key

return hash of

{
  <relative path to key>=><key1>

}

SEE ALSO

Collection, README

AUTHOR

Zahatski Aliaksandr, <zag@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2005-2008 by Zahatski Aliaksandr

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.