Data::Remember::DBM - a long-term memory brain plugin for Data::Remember


Data-Remember documentation  | view source Contained in the Data-Remember distribution.

Index


NAME

Top

Data::Remember::DBM - a long-term memory brain plugin for Data::Remember

SYNOPSIS

Top

  use Data::Remember DBM => file => 'brain.db';

  remember something => 'what?';

DESCRIPTION

Top

This is a brain plugin module for Data::Memory that persists everything stored using DBM::Deep. To use this module you must specify the "file" argument to tell the module where to store the files.

METHODS

Top

new file => FILENAME

Pass the name of the file to use to store the persistent data in. The "file" argument is required.

dbm

If you need to do any locking or additional work with DBM::Deep directly, use this method to get a reference to the current instance.

  my $dbm = brain->dbm;

SEE ALSO

Top

Data::Remember, Data::Remember::Memory

AUTHOR

Top

Andrew Sterling Hanenkamp <hanenkamp@cpan.org>

COPYRIGHT AND LICENSE

Top


Data-Remember documentation  | view source Contained in the Data-Remember distribution.