Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

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

by cdarke (Prior)
on Sep 15, 2011 at 15:55 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://926181]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2024-04-16 17:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found