I have a process with an open filehandle to a file. I need to detect if this file has been deleted by another process (there may be a file with the same name in its place). On UNIX I was comparing the inodes of my filehandle and the file-path via stat, but this doesn’t work on Win32. How can I do this in Perl?
Thanks,
-Peter
I may be mistaken (I’m not a Windows programmer), but I thought files can’t be deleted or replaced when they are opened in Win32, or at least by default it isn’t possible.