No such thing as a small change | |
PerlMonks |
Re: flock, not unflockingby ftforger (Sexton) |
on Feb 15, 2001 at 20:49 UTC ( [id://58644]=note: print w/replies, xml ) | Need Help?? |
First, something that has been implied but not stated
outright:
What O/S are you using. Some do not do flock properly.
Second, since your example says its doing the lock first
and then attempts the lock, but never prints the 'done'
message (you said it locks up after printing the message)
I would say that something else may be wrong with how you
are attempting the flock, OR something else has the file
locked and your program is waiting to acquire the lock.
In Section
Seekers of Perl Wisdom
|
|