go ahead... be a heretic | |
PerlMonks |
How to chomp the last new line character from the fileby jojojo (Initiate) |
on Nov 24, 2011 at 09:33 UTC ( [id://939828]=perlquestion: print w/replies, xml ) | Need Help?? |
jojojo has asked for the wisdom of the Perl Monks concerning the following question: I want to remove the last new line character in a file which is being generated by another code. I have to use this file as an input to some other script and the last newline character is creating problems for me. Is there any way I can do it?
Back to
Seekers of Perl Wisdom
|
|