SYNOPSIS use Text::Table::HTML; my $rows = [ # header row ['Name', 'Rank', 'Serial'], # rows ['alice', 'pvt', '123<456>'], ['bob', 'cpl', '98765321'], ['carol', 'brig gen', '8745'], ]; print Text::Table::HTML::table(rows => $rows, header_row => 1); DESCRIPTION This module provides a single function, table, which formats a two-dimensional array of data as HTML table. The example shown in the SYNOPSIS generates the following table:
Name | Rank | Serial |
---|---|---|
alice | pvt | 123<456> |
bob | cpl | 98765321" |
carol | brig gen | 8745 |