in reply to monitoring directory for new subdirectories
That seems a little "brute-force", but other methods will depend on the OS: Win32, Mac/Unixy, or who-knows-what? I'll admit not knowing about anything but Win32 on that level.
Win32 provides monitoring API calls (FindFirstChange(), FindNextChangeNotification() and SHChangeNotifyRegister() all look like things to try.) You may have to code that part in XS, and other people would have more knowledge about specifics than I would (I remember using the FindXChangeNotification API calls in a C++ program a few years back.)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: monitoring directory for new subdirectories
by incognito129 (Acolyte) on Mar 27, 2009 at 23:06 UTC | |
by almut (Canon) on Mar 27, 2009 at 23:27 UTC | |
by incognito129 (Acolyte) on Mar 28, 2009 at 00:07 UTC | |
by almut (Canon) on Mar 28, 2009 at 00:27 UTC |