in reply to Re: Why chomp doesn't work?
in thread Why chomp doesn't work?
On printout to a text file handle, the reverse happens: Every chr(10) is replaced by chr(13).chr(10).
The net effect, and the whole point of this elaborate exercise, is that on these platforms, "\n" is a single character too.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Why chomp doesn't work?
by Fletch (Bishop) on Jun 14, 2004 at 14:14 UTC |