KiokuDB::Backend::Files - One file per object backend
KiokuDB->connect( "files:dir=path/to/data", serializer => "yaml", # defaults to storable );
This backend provides a file based backend using Directory::Transactional to provide ACID semantics.
This is one of the slower backends, and the support for searching is very limited (only a linear scan is supported), but it is suitable for small, simple projects.
The directory for the backend.
If true (defaults to false) the directories will be created at instantiation time.
Defaults to all.
all
Defaults root.
root
Root set entries are symlinked into this directory as well.
If true (defaults to false) instead of one flat hierarchy, the files will be put in subdirectories based on their IDs. This is useful if your file system is limited and you have lots of entries in the database.
How many hex nybbles to take off of the ID. Defaults to 3, which means up to 4096 subdirectories per directory.
How many subdirectories to use.
Defaults to 2.
http://github.com/nothingmuch/kiokudb-backend-files
Yuval Kogman <nothingmuch@woobling.org>
Copyright (c) 2008, 2009 Yuval Kogman, Infinity Interactive. All rights reserved This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install KiokuDB::Backend::Files, copy and paste the appropriate command in to your terminal.
cpanm
cpanm KiokuDB::Backend::Files
CPAN shell
perl -MCPAN -e shell install KiokuDB::Backend::Files
For more information on module installation, please visit the detailed CPAN module installation guide.