in reply to Re: flock, not unflocking
in thread flock, not unflocking

#or, more general:
#flock (FILEHANDLE, LOCK_UN);

That isn't 'more general', that is the 'correct way'. These constants shouldn't be hard coded. Use the Fcntl module to import your systems constants.

Cheers,
KM