Strange output problem
- From: "arod" <ajrodriguez@xxxxxxxxx>
- Date: 26 Sep 2006 13:34:07 -0700
I'm trying to output some data into an html table with this code:
print "\n";
for my $array ( @sorted ) {
print "<tr>";
for my $element ( @$array ) {
print "<td>" . $element . "</td>";
}
print "</tr>";
print "\n";
}
However after successfully outputting several rows it sometimes
randomly throws in a row like this:
<tr><td>CY</td><td>2.4321</td><td>16.79</td><td!>+0.04</td></tr>
where one of the <td> tags is instead <td!> which is clearly wrong.
Any idea?
.
- Follow-Ups:
- Re: Strange output problem
- From: Peter J. Holzer
- Re: Strange output problem
- From: DJ Stunks
- Re: Strange output problem
- From: usenet
- Re: Strange output problem
- From: Matt Garrish
- Re: Strange output problem
- Prev by Date: Re: An interactive interpreter/shell?
- Next by Date: Re: Strange output problem
- Previous by thread: remove last 10 lines of all files in a directory
- Next by thread: Re: Strange output problem
- Index(es):