P is for Practical | |
PerlMonks |
Re^2: Watching a directory with POE::Component::DirWatchby Anonymous Monk |
on Mar 04, 2009 at 12:46 UTC ( [id://748115]=note: print w/replies, xml ) | Need Help?? |
POE::Component::DirWatch#file_callback
Optional read-write code reference to call when a file is found. The code reference will passed a single argument, a Path::Class::File object representing the file found. It usually makes most sense to process the file and remove it from the directory to avoid duplicate processing
In Section
Seekers of Perl Wisdom
|
|