in reply to
How to chomp the last new line character from the file
Try
chomp
ing the last line. Or if you are sure the last character in the file is to be deleted, you can
truncate
the file to
$size - 1
.
Comment on
Re: How to chomp the last new line character from the file
Download
Code
In Section
Seekers of Perl Wisdom