in reply to Re: Re: How to apply flock
in thread How to apply flock

Sorry,
flock works on filehandles, if you close the filehandle
you're in trouble (the lock will be released). That's right.