in reply to string gets front truncated

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

Replies are listed 'Best First'.
Re^2: string gets front truncated
by hsfrey (Beadle) on Jul 30, 2008 at 03:52 UTC
    I get the same result with or without the chomp.