As Abigail points out, your problems are caused by buffering problems. You might find Dominus' article Suffering from Buffering helpful.
--Perl Training in the UK <http://www.iterative-software.com>
In reply to Re: Program can not read the contents of a small file that it has recently written!
by davorg
in thread Program can not read the contents of a small file that it has recently written!
by lostcause
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |