in reply to Re: read and write to the same file
in thread read and write to the same file

SuicideJunkie++ because to give such a quality answer to a so poor spelled question is not for everyone.

PS amy063000 show some (even if little) Perl effort asking: you'll be better rewarded.

L*
There are no rules, there are no thumbs..
Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.