Rafael Cotta wrote:

> I need a sobroutine to append a string passed as parameter to a file. And
> this sobroutine has to lock and unlock the file, and wait if the file is
> locked when it tries to write.
> 
> This may be a very simple thing. Could someone give me a sample?


have you tried the faq?

http://www.perldoc.com/perl5.6/pod/perlfaq5.html#How-can-I-lock-a-file-


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

Reply via email to