POE::Component::DirWatch::Unmodified
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.
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.
around '_file_callback'
Keeping tests happy.
POE::Component::DirWatch, Moose
Copyright 2006-2008 Guillermo Roditi. This is free software; you may redistribute it and/or modify it under the same terms as Perl itself.
To install POE::Component::DirWatch, copy and paste the appropriate command in to your terminal.
cpanm
cpanm POE::Component::DirWatch
CPAN shell
perl -MCPAN -e shell install POE::Component::DirWatch
For more information on module installation, please visit the detailed CPAN module installation guide.