in reply to Re: Callback on file access
in thread Callback on file access

What about Linux::Inotify2 and friends? Why wouldn't something like that work or be appropriate for this problem? -Andrew.

Replies are listed 'Best First'.
Re^3: Callback on file access
by Corion (Patriarch) on Dec 13, 2009 at 16:33 UTC

    Ah - a good approach - I thought the callback was supposed to supply data, but it seems that it's enough to just register the access. Then, potentially Inotify or truss or strace might produce the appropriate list of system calls as well.