Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: Add new line character to and ebcdic fileby jethro (Monsignor) |
on Apr 15, 2013 at 08:33 UTC ( [id://1028702]=note: print w/replies, xml ) | Need Help?? |
Are you removing the \n from the ascii lines with chomp? If yes, don't do that and presumably the EBCDIC lines should have the EBCDIC equivalent of \n at the end. If this isn't the answer, could you tell us why there should be an \n at the end of a line even though the source file doesn't have one?
In Section
Seekers of Perl Wisdom
|
|