The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Frost::Asylum - Home of the Locum

SYNOPSIS

   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

ABSTRACT

No documentation yet...

DESCRIPTION

PUBLIC ATTRIBUTES

data_root

cachesize

PRIVATE ATTRIBUTES

_lock

_twilight

_necromancer

CONSTRUCTORS

Frost::Asylum->new ( %params )

_build__lock

_build__twilight

_build__necromancer

DESTRUCTORS

DEMOLISH

PUBLIC METHODS

twilight_maxcount

twilight_count

lock

unlock

is_locked

open

close

save

clear

remove

autoincrement

silence

evoke

absolve

excommunicate

exists

count

lookup

match

match_last

match_next

match_prev

find

find_last

find_next

find_prev

first

last

next

prev

PRIVATE METHODS

_exists

_count

_lookup

_silence

_evoke

_forget

_silence_slot

_silence_array

_silence_hash

_silence_locum

_silence_type

_evoke_slot

_evoke_array

_evoke_hash

_evoke_locum

_evoke_type

CALLBACKS

_absolve

GETTING HELP

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

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.

AUTHOR

Ernesto ernesto@dienstleistung-kultur.de

COPYRIGHT AND LICENSE

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.