Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: unlink fails to delete files with perculiar names

by ikegami (Pope)
on Nov 22, 2011 at 18:06 UTC ( #939509=note: print w/ replies, xml ) Need Help??


in reply to unlink fails to delete files with perculiar names

unlink reports the file deleted (and $no is set to 1 indicating one file deleted) - but in reality the file still exists.

That means a program still has the file open. The file is marked to be deleted and will be deleted as soon no program has the file open anymore. Windows doesn't have anonymous files like unix does.


Comment on Re: unlink fails to delete files with perculiar names

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (11)
As of 2014-12-26 19:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (175 votes), past polls