NAME
App::PerlWatcher::Memory - Represents memory, which can be persisted (detached) for it's owner
VERSION
version 0.20
ATTRIBUTES
'data'
An hashref of arbitrary to be stored within memory.
Storing of coderef's isn't supported.
FUNCTIONS
memory_patch
Adds setters and getters for the current package which are proxied by $memory->data of current package, e.g.
memory_patch(__PACKAGE__, 'active'); # adds 'active' memorizable attribute
The method assumes, that current the provided package has 'memory' Moo attribute.
AUTHOR
Ivan Baidakou <dmol@gmx.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2013 by Ivan Baidakou.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.