in reply to Picking out text
then to print the data out separately you can do...
Update:for(@LS) { #go through @LS 1 by 1, putting array ref into $_ print "<TD>$el @{$_}</TD>"; #print each line converting arrayref int +o array for printing ## or you could do print "<TD>$_->[1]</TD>";# to print just the team name... etc }
where you now have the push @LS code... would work just as well.my @line = split('\|',$_); print "<TR><TD COLSPAN=10>Team: $_->[1] Score: $_->[0]</TD></TR>"; print "<TR><TD><B>Innings</B></TD>"; for(my $i = 2; $i <= 11; $i++) { print "<TD>$_->[$1]</TD>"; } print "</TR>";
...or something similar, I don't know if I am right about the data, and
you may not want to display it that way... but it's just an example
- Ant
|
|---|