Frost
view release on metacpan or search on metacpan
lib/Frost.pm view on Meta::CPAN
# later...
my $foo = $asylum->evoke ( 'Foo', $remembered_id ); # other params ignored
If the C<id> is defined with C<auto_id> or C<auto_inc>, Asylum is creating a mantra for you - i.e.:
package Bar;
...
has id ( auto_id => 1 );
...
# Create and silence without id:
#
my $bar = Bar->new ( asylum => $asylum, an_attr => ..., another_attr => ... );
my $bar_id = $bar->id; # something like ECDAEFD4-9247-11DE-9343-7794CBAD412D
# Evoke with id:
#
my $bar = Bar->new ( id => $bar_id, asylum => $asylum );
=head1 TODO
Docs, docs, docs...
=head1 GETTING HELP
I'm reading the L<Moose> mailing list frequently, so please ask your
questions there.
The mailing list is L<moose@perl.org>. You must be subscribed to send
a message. To subscribe, send an empty message to
L<moose-subscribe@perl.org>
=head1 DEPENDENCIES
This module requires these other modules and libraries:
BerkeleyDB
Carp
Class::MOP
Data::Dumper
Data::UUID
Exporter
Fcntl
File::Path
IO::File
Log::Log4perl
Moose
Scalar::Util
Storable
Tie::Cache::LRU
Time::HiRes
For testing these modules are needed:
DateTime::Format::MySQL
List::Util
List::MoreUtils
Test::Deep
Test::Differences
Test::Exception
Test::More
Test::Requires
Optional modules to run some tests:
Devel::Size
Sys::MemInfo
Declare::Constraints::Simple
Regexp::Common
Locale::US
Please see Makefile.PL for required versions.
=head1 BUGS
All complex software has bugs lurking in it, and this module is no
exception.
Please report any bugs to me or the mailing list.
=head1 AUTHOR
Ernesto L<ernesto@dienstleistung-kultur.de>
=head1 COPYRIGHT AND LICENSE
Copyright (C) 2010 by Dienstleistung Kultur Ltd. & Co. KG
L<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.
=cut
( run in 2.149 seconds using v1.01-cache-2.11-cpan-39bf76dae61 )