You are supposed to call seek between calls that use the same file handle in different ways (either one reading and one writing or one buffered and one unbuffered). seek($fh,0,0) in all the right places should fix your problem.
- tye
In reply to Re: filehandle/socket question (seek)
by tye
in thread filehandle/socket question
by Forsaken
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |