in reply to text file parsing with chomp

It appears you are printing your output with

print NEW "$_\n";

If you want to print all but the first five characters of $_ you could change this to

print NEW substr($_,5),"\n";