Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

I must thank you all, and deeply apologize

by Kozz (Friar)
on Aug 22, 2000 at 19:05 UTC ( #29019=note: print w/replies, xml ) Need Help??

in reply to More Eyes, Please

I should have taken tilly's suggestion from the VERY start and used Temp::File. And now I feel quite foolish, but perhaps a little bit wiser, and I must acknowledge my folly to the Perlmonks who've endured me.

Especially since the solution which would solve this mystery was in none of the pieces of code I posted here. I realized that the original block of code I posted in the parent thread was in a subroutine which had been called by ANOTHER subroutine, and in THAT subroutine I had already opened and flocked a tempfile which had been created moments ago with the exact same naming scheme.

So the most obvious solution was invisible to me late at night: "The file exists, and that's why you can't get a lock on it, dumbass!"
Thankfully things were clearer in the morning. I feel sooo silly.
  • Comment on I must thank you all, and deeply apologize

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2022-05-20 14:21 GMT
Find Nodes?
    Voting Booth?
    Do you prefer to work remotely?

    Results (73 votes). Check out past polls.