in reply to Please help me Chomp !
It can be very helpful to use a tool like "hexdump" (by any other name) to display the content of the file byte-by-byte with accompanying text. This will show you exactly how many newline characters are being inserted. (If there is any garbage in the file, it will quickly show that, too.) Perl does not insert newline characters on its own.
Also do the same thing for the input files... what DO they, actually, byte-by-byte, contain?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Please help me Chomp !
by 2teez (Vicar) on Aug 24, 2012 at 13:02 UTC |