THanks,

I tried substituting:

flock(WRITE_COMMENT, (LOCK_EX() || die("cannot lock comment file: $!")));

to no avail.  THe file has been previously opened (for reading) and
then closed after, prior to being opened by another sub for
appending.  The code I used to append worked as part of a stand-alone
program but not when incorporated into the main program as a sub so I
assume the problem is in the way in which I am passing data.

Cheers

Francesco

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to