Hi!
I have the following code
foreach $line (@raw_data)
{
chop($line);
($w_name,$last_mod,$last_user,$tblsp,$extf,$nbSW,$SWs,$tot)=split(/ /,$line);
if ($w_name ne "PROJECT" ) {
print" <tr> \n";
print"<td><a href=\"# print" <td>$w_name</td>\n";
print" <td>$last_mod</td>\n";
print" <td>$last_user</td>\n";
print" <td>$tblsp</td>\n";
print" <td>$extf</td>\n";
print" <td>$nbSW</td>\n";
print" <td>$SWs</td>\n";
print" <td>$tot</td>\n";
print" </tr>\n";
}
}
This read one line at a time and writes a row in an HTML table
Now I want to read two lines at once, I have some new info on the second line I want to add on the same row.
How can I do this?
Thanks
I have the following code
foreach $line (@raw_data)
{
chop($line);
($w_name,$last_mod,$last_user,$tblsp,$extf,$nbSW,$SWs,$tot)=split(/ /,$line);
if ($w_name ne "PROJECT" ) {
print" <tr> \n";
print"<td><a href=\"# print" <td>$w_name</td>\n";
print" <td>$last_mod</td>\n";
print" <td>$last_user</td>\n";
print" <td>$tblsp</td>\n";
print" <td>$extf</td>\n";
print" <td>$nbSW</td>\n";
print" <td>$SWs</td>\n";
print" <td>$tot</td>\n";
print" </tr>\n";
}
}
This read one line at a time and writes a row in an HTML table
Now I want to read two lines at once, I have some new info on the second line I want to add on the same row.
How can I do this?
Thanks