-for my $system (qw'msn yahoo') {
- my @info = do "emoji-$system.inc.pl";
- printf '<div class="section"><h3>%s</h3>'."\n\n", $system;
- print '<table><tbody>'."\n";
- for (my $i = 0; $i <= $#info; $i++) {
- my $name = $info[$i];
- unless (ref $info[$i+1] eq 'ARRAY') {
- printf '</table><table><tbody>'."\n", $name;
+ say sprintf '<div class="section"><h2>%s</h2>', $meta->{name} // $system;
+ say '<table><tbody>';
+ for my $row (@info) {
+ unless (ref $row eq 'ARRAY') {
+ say '</table><table><tbody>';