http://www.perlmonks.org?node_id=306183


in reply to Re: ChangeNotify question
in thread Win32::ChangeNotify question

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re: Re: Re: ChangeNotify question
by batkins (Chaplain) on Nov 11, 2003 at 14:07 UTC
    No there isn't. That code is clearly Win32::ChangeNotify; that's not the same as ChangeNotify, which happens to not exist. Posting the code is also completely unnecessary - it cluttered the node and served no purpose. We all know where CPAN is.

    Iif you're trying to "get the LAST_WRITE time of a file," then this may not be the right module for you. You use this module to check for changes to a file or group of files. You can't use this to just get a file's last modified time - you want stat for that. If you really do need this module, then you use it to set up a watcher that will get events when a file's last modified time changes. If you need to get the value of that time after it's been changed, you use stat.

    Are you sure it was a book? Are you sure it wasn't.....nothing?
That is Win32::ChangeNotify, not ChangeNotify
by Anonymous Monk on Nov 11, 2003 at 13:57 UTC
    That is Win32::ChangeNotify, not ChangeNotify.