NAME

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

SYNOPSIS

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

  remember something => 'what?';

DESCRIPTION

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

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

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

AUTHOR

Andrew Sterling Hanenkamp <hanenkamp@cpan.org>

COPYRIGHT AND LICENSE

Copyright 2007 Boomer Consulting, Inc. All Rights Reserved.

This program is free software and may be modified and distributed under the same terms as Perl itself.