Help for this page
while ($HTMLLine=<HTMLFNH>) { chomp $HTMLLine; print "$HTMLLine\n"; }
while ($HTMLLine=<HTMLFNH>) { ... whatever you need to do for interpolation print $HTMLLine; }