Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Re-Creating a file does not change inode modification time (Windows)

by cdarke (Prior)
on Sep 15, 2011 at 15:55 UTC ( #926181=note: print w/ replies, xml ) Need Help??


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>

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://926181]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2016-07-01 06:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (407 votes). Check out past polls.