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?
In reply to Re: Please help me Chomp !
by Anonymous Monk
in thread Please help me Chomp !
by perlnoobster
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |