>
> > From: Owen <[email protected]>
> >
> > There is no race condition.
> >
> > And that code demo is correct
>

Actually, there is in a multitasking environment. Please, check subtitle
"File Locking" in perldoc perlopentut.

   masayoshi <[email protected]> wrote:

> Before calling print method, the file might be deleted by another process
> So I reckoned when "File exists" appeared, the file might be deleted. >_>
>
>
I think what you want will be * flock * function. Check subtitle "File
Locking
under perldoc perlopentut,
Also check perldoc -f flock.


-- 
Tim

Reply via email to