print $query->table( $query->Tr( map { $query->td([$_->{name}, $_->{year}, $_->{rating}],) } @table ), );