Hi,
With Linux you can use Inotify, see on CPAN
Other way is doing a polling of the directory and fire up an event if there is a new directory. You only have to "rewind" the dirhandle and look again if any new file is there that you haven't processed if you need to make a check like this.
See also POE::Component::DirWatch::Object.
Regards,
In reply to Re: Problem with reading files when we have new directories
by fmerges
in thread Problem with reading files when we have new directories
by Win
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |