Justin Hunter > POE-Component-DirWatch-0.300001 > POE::Component::DirWatch::Unmodified

Download:
POE-Component-DirWatch-0.300001.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  2
Open  1
View/Report Bugs
Module Version: 0.300001   Source  

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.

syntax highlighting: