in reply to Re: Watching a directory with POE::Component::DirWatch
in thread Watching a directory with POE::Component::DirWatch

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
  • Comment on Re^2: Watching a directory with POE::Component::DirWatch