in reply to filehandle/socket question
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: filehandle/socket question (seek)
by Forsaken (Friar) on Jul 18, 2004 at 17:24 UTC | |
by tye (Sage) on Jul 18, 2004 at 17:51 UTC |