in reply to Re-Creating a file does not change inode modification time (Windows)

Are you sure the unlink is working? You might try
unlink('file') or die "Failed to unlink: $!";
  • Comment on Re: Re-Creating a file does not change inode modification time (Windows)
  • Download Code

Replies are listed 'Best First'.
Re^2: Re-Creating a file does not change inode modification time (Windows)
by rovf (Priest) on Sep 20, 2011 at 08:22 UTC
    Good point. Though I didn't see why unlink could have failed in this case (local file on C: drive, AFIK no other process having had a lock on it), it certainly doesn't harm checking this!

    -- 
    Ronald Fischer <ynnor@mm.st>