Since this is Win32, you can have the OS notify you whenever a file is added to or deleted from that directory. I haven't used it, but Win32::ChangeNotify sounds like what you'd want to use.
- tye (but my friends call me "Tye")In reply to Re: Why can't I readdir multiple times in a while loop?
by tye
in thread Why can't I readdir multiple times in a while loop?
by Guildenstern
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |