jdtoronto has asked for the wisdom of the Perl Monks concerning the following question:
I have a Win32/Perl/Tk application. The application needs to monitor a directory and when a file changes I need to read the file, parse out some info and then use this info within the running programme.
I assume I can use Win32::ChangeNotify for this. But how do I do this in a non-blocking way? The application will be running, other operations may be being performed when this event occurs.
Any advice? Suggestions?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Using Win32::ChangeNotify
by zentara (Cardinal) on Oct 27, 2005 at 12:50 UTC | |
|
Re: Using Win32::ChangeNotify
by EvanCarroll (Chaplain) on Oct 27, 2005 at 05:49 UTC | |
|
Re: Using Win32::ChangeNotify
by BrowserUk (Patriarch) on Oct 27, 2005 at 15:39 UTC |