Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

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
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 chanting in the Monastery: (12)
As of 2014-12-18 18:21 GMT
Find Nodes?
    Voting Booth?

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

    Results (59 votes), past polls