You are removing your newline before appending the line to $wholeFile with the chomp command. My guess is that your terminal is responding to the resulting long line.
Other comments:
The variable my $FH; is never used.
use warnings;
--MidLifeXis
In reply to Re: string gets front truncated
by MidLifeXis
in thread string gets front truncated
by hsfrey
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |