-
-for (
- [phnx => 'Phoenician'],
- [brah => 'Brahmi'],
-) {
- my ($source, $title) = @$_;
- my @table = eval { Data("writing-$source") } or do {
- say "<h2>$title</h2>";
- printf "<p>%s: <em>%s</em>.</p>\n", @{$@};
- next;
- };
- $glyphs->print($title => [map {
- my $lead = s/^(-)// && $1;
- ref $_ eq 'ARRAY' ? @$_ : map { ".>$lead$_" }
- $scriptname->{$source.'_'.$_} || $scriptname->{$_} || $_
- } @table]);
-}
+$_ = showlink($_, "/writing/brahmi") for $scriptname->{brah} || ();
+
+say $glyphs->table([map {
+ my $lead = s/^(-)// && $1;
+ (map { ".>$lead$_" }
+ $scriptname->{$source.'_'.$_} || $scriptname->{$_} || $_
+ ),
+ @{ $info->{table}->{$_} || [] }
+} @{$rows}]);