on Mon, 15 Jul 2002 11:08:48 GMT, Rupert Heesom wrote: > I'm struggling to implement the win32::Changenotify method in a > script. > > [...] > > The relevent code snippet : > $NewTIFF = Win32::ChangeNotify->new("i:\\",True,"FILE_NAME"); > while(True) > { > > $NewTIFF->wait or warn "Somethings wrong: $!\n"; > > foreach(@TIFFDirs) > { > ### processing each directory ##### > } > > $NewTIFF->reset; > }
Is 'i:' an mapped network drive by any chance? I just ran a quick test on my network (with two Win98 machines), with the following results: ChangeNotify doesn't notify a change, unless the change (in my case, the creation of a new file) is done by the machine on which the Perl program watching the directory runs. -- felix -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]