Hi There,
I've a Perl code that reads a txt file (which has colum data) line by line, but for some reason when I print it in html, it's not printing as colum data. Instead it's printing in one line. This is my Perl code that reads the lines:
while (<FILE>){
$line = $line . $_ ;
}
and this is my html part:
<br> $line <br>
I'm new to both languages and I'm not sure which one is causing the problem. Can some one help me please?
palm.
I've a Perl code that reads a txt file (which has colum data) line by line, but for some reason when I print it in html, it's not printing as colum data. Instead it's printing in one line. This is my Perl code that reads the lines:
while (<FILE>){
$line = $line . $_ ;
}
and this is my html part:
<br> $line <br>
I'm new to both languages and I'm not sure which one is causing the problem. Can some one help me please?
palm.
Comment