NAME

App::PerlWatcher::Shelf - Used to stash (store) statuses for further detection weather they has been changed.

VERSION

version 0.18

ATTRIBUTES

statuses

The hash ref, with key watcher (actually watcher unique id) and the value is the watchers' status.

METHODS

stash_status

Stores the status. Returns true if the previous stashed value isn't the same as the provided stashed value.

status_changed

Checks weather the provided status value differs from stashed one. Actual logic is delegated to $status->updated_from

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.