String::Lookup::AsyncDBI - flush String::Lookup to flat files
use String::Lookup; tie my %lookup, 'String::Lookup', # standard persistent storage parameters storage => 'AsyncDBI', # store in a flat file per epoch tag => $tag, # name of directory for this lookup hash fork => 1, # fork for each flush, default: no # parameters specific to 'AsyncDBI' dir => $dir, # directory in which tag directories are stored # other parameters for String::Lookup ... ;
This documentation describes version 0.11.
This module is a class for providing persistent storage for lookup hashes, as provided by String::Lookup.
Please see the
METHODS IN STORAGE MODULE section in String::Lookup for documentation on which methods this storage class provides.
The following additional parameters are provided by this storage class:
tie my %lookup, 'String::Lookup', dir => $dir, # directory in which flat files are stored ;
Indicate the directory in which directories will be created per tag. The actual flat files will be stored in there per second. Defaults to the content of the
Must be specifiedeither directly or indirectly with the environment variable.
Copyright (c) 2012 Elizabeth Mattijsen <email@example.com>. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 176:
=back doesn't take any parameters, but you said =back 4