print $query->table( $query->Tr( map { $query->td([$_->{name}, $_->{year}, $_->{rating}],) } @table ), );
I wonder if you want the Tr() call inside of the map though.
In reply to Re: Outputting data to tables with CGI.pm
by chromatic
in thread Outputting data to tables with CGI.pm
by Basilides
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |