Alzabo::ObjectCache::Sync::DBM - Base class for syncing modules that use DBM files
package Alzabo::ObjectCache::Sync::SomeDBMImplementation; use base qw( Alzabo::ObjectCache::Sync::DBM );
All that a module that subclasses this module needs to do is implement a dbm method and an optional import method.
dbm
import
This method is where the subclass should do whatever setup it needs to do. This could mean creating a new DBM file if needed and perhaps opening it. It is desirable to do this here if the objects can be shared across multiple processes.
The first argument will be either 'read' or 'write'. The second is the object id. The last two arguments are only relevant when the mode is 'write'.
Dave Rolsky, <autarch@urth.org>
To install Alzabo, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Alzabo
CPAN shell
perl -MCPAN -e shell install Alzabo
For more information on module installation, please visit the detailed CPAN module installation guide.