in reply to File I/O while using Sockets?
When in doubt, I've been known to simply do this when I don't know how the lines end: s/[\r\n]+$//;
In addition, your print statement to OUT doesn't have a trailing newline, so your log file doesn't have an end-of-line to act on (stdio buffering does this, I believe). That's probably why you aren't seeing any of this ending up in the log file.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: File I/O while using Sockets?
by jgallagher (Pilgrim) on Nov 22, 2000 at 06:29 UTC | |
by Fastolfe (Vicar) on Nov 22, 2000 at 06:45 UTC | |
by extremely (Priest) on Nov 22, 2000 at 06:32 UTC |