This seems odd. Chomp removes the trailing newline, only to have it added again for the print. I suspect that there's some cargo-cult programming involved here.while ($HTMLLine=<HTMLFNH>) { chomp $HTMLLine; print "$HTMLLine\n"; }
should be sufficient.while ($HTMLLine=<HTMLFNH>) { ... whatever you need to do for interpolation print $HTMLLine; }
In reply to Re: Display $var content
by dws
in thread Display $var content
by akm2
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |