in reply to Re^2: Replace many array element with another corresponding array element in a file
in thread Replace many array element with another corresponding array element in a file

Oh, sheesh! No, I did something wrong.:

my $TestText = <$in>;

should be:

$TestText = <$in>;

Sorry about that. Will correct this in the original posting

BTW - Excellent way to initialize the hash...