Frost::Asylum - Home of the Locum
use Frost::Asylum; use Foo; my $asylum = Frost::Asylum->new ( data_root => '/existing/path/for/my/data' ); # Create and silence via class: # my $foo = Foo->new ( id => 'a_unique_id', asylum => $asylum, an_attr => ..., another_attr => ... ); my $remembered_id = $foo->id; # Evoke via class: # my $foo = Foo->new ( id => $remembered_id, asylum => $asylum ); # other params ignored $asylum->remove(); # delete all entries ################# # Silence and create via API: # my $remembered_id = 'a_unique_id'; my $foo = $asylum->silence ( 'Foo', $remembered_id, an_attr => ..., another_attr => ... ); $asylum->close(); # and auto-save # Evoke via API: # my $foo = $asylum->evoke ( 'Foo', $remembered_id ); # other params ignored
No documentation yet...
I'm reading the Moose mailing list frequently, so please ask your questions there.
The mailing list is moose@perl.org. You must be subscribed to send a message. To subscribe, send an empty message to moose-subscribe@perl.org
All complex software has bugs lurking in it, and this module is no exception.
Please report any bugs to me or the mailing list.
Ernesto ernesto@dienstleistung-kultur.de
Copyright (C) 2010 by Dienstleistung Kultur Ltd. & Co. KG
http://dienstleistung-kultur.de/frost/
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Frost, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Frost
CPAN shell
perl -MCPAN -e shell install Frost
For more information on module installation, please visit the detailed CPAN module installation guide.