You could look at Inotify, Win32::FileNotify or some other notification mechanism for your OS.
Other than that, there is no mechanism other than getting the full list of directory entries and looking for the changes.
In reply to Re: Monitor new file
by Corion
in thread Monitor new file
by colox
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |