Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: unlink problem

by CubicSpline (Friar)
on Dec 05, 2001 at 18:33 UTC ( [id://129604]=note: print w/replies, xml ) Need Help??


in reply to unlink problem

This could be a couple of things. First off, are you sure that there really isn't another process using the file? If not that, I wonder if it might be an off-by-one type problem with your algorithm. How does it go? Is it like:

foreach $file (@files) { open FILE, $file; . . . close FILE; unlink $file; }

or is it something else? Just out of curiosity, is it always the same file that cannot be deleted or is it the last file that you access? If the latter is the case, I'd look for an algorithm problem. Perhaps you could post your code here( and be sure to use <code> tags around it).

~CS

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (4)
As of 2024-03-29 11:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found