Andrew Sterling Hanenkamp > Data-Remember-0.140490 > Data::Remember::DBM

Download:
Data-Remember-0.140490.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.140490   Source  

NAME ^

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

VERSION ^

version 0.140490

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 ^

This software is copyright (c) 2014 by Qubling Software LLC.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

syntax highlighting: