in reply to Re^2: Monitoring filesystem for file/folder changes
in thread Monitoring filesystem for file/folder changes

I've used it, and it's certainly not 'heavy'.
I guess (haven't looked at the code) that it uses some Win32 APIs, so I doubt it does anything as crude as building a recursive tree. I don't know if it's built the same way, but check out Sysinternal's Filemon utility for a description of a smart way to build something like this. Win32::ChangeNotify has done the heavy interface work for you already, why not use it?
--
jpg
  • Comment on Re^3: Monitoring filesystem for file/folder changes

Replies are listed 'Best First'.
Re^4: Monitoring filesystem for file/folder changes
by Ace128 (Hermit) on Jun 05, 2005 at 14:24 UTC
    Yeah, think Im gonna use this for Windows. Else I was hoping for something multi-OS solution, but I guess that doesnt really exist, so it has to be seperate things "imported" depending on OS.

    Speaking of this, got some neat trick to require/use perl modules only if they exist or so...? Like:

    use if exists mainmodule::submodule;