Andrew Sterling Hanenkamp

NAME

Data::Remember::YAML - a frozen memory brain plugin for Data::Remember

SYNOPSIS

  use Data::Remember YAML => file => 'brain.yml';

  my $blah = recall 'something';

DESCRIPTION

This brain plugin uses YAML::Syck to load and store information for Data::Remember. To use this module you must specify the "file" argument to tell the module where to load the data from.

METHODS

new file => FILENAME

Pass the name of the file to use to load the data from. The "file" argument is required.

load FILENAME

Reloads the information from the YAML file or loads information from a different YAML file. The FILENAME argument is optional, if not given the file loaded will be the one that was given when the brain was originally created.

dump FILENAME

Dumps the informaiton from the configuration file or saves information into another file. The FILENAME argument is optional, if not given the file saved to will be the one that was given when the brain was originally created.

SEE ALSO

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

AUTHOR

Andrew Sterling Hanenkamp <hanenkamp@cpan.org>

COPYRIGHT AND LICENSE

Copyright 2007 Boomer Consulting, Inc. All Rights Resreved.

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