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

NAME

POE::Component::DirWatch::Unmodified

DESCRIPTION

POE::Component::DirWatch::Unmodified extends DirWatch::New to exclude files that appear to be in use or are actively being changed. To prevent files from being processed multiple times it is adviced that files are moved after successful processing.

This module consumes the POE::Component::DirWatch::Role::Signatures role, please see its documentation for information about methods or attributes it provides or extends.

METHODS

_file_callback

around '_file_callback' is modified to only execute the callback if the file has been seen previously and its signature has not changed since the last poll. This behavior means that callbacks will not be called until the second time they are seen.

meta

Keeping tests happy.

SEE ALSO

POE::Component::DirWatch, Moose

COPYRIGHT

Copyright 2006-2008 Guillermo Roditi. This is free software; you may redistribute it and/or modify it under the same terms as Perl itself.