in reply to Display $var content
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; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Display $var content
by extremely (Priest) on Feb 27, 2001 at 04:04 UTC | |
by chipmunk (Parson) on Feb 27, 2001 at 04:13 UTC |