charset: check ucplanes for modification date
[sheet.git] / digraphs.plp
index df84755cd43bd6ae6ce4ae7e8d25f32e3baba5d0..44f93e67c719c7e06d69f5eecf25dfd7f0bf7f26 100644 (file)
@@ -1,6 +1,6 @@
 <(common.inc.plp)><:
 
-my $mode = ($ENV{PATH_INFO} // '') eq '/xorg' || exists $get{xorg};
+my $mode = ($Request // '') eq 'xorg' || exists $get{xorg};
 my $modename = $mode ? 'X.Org' : 'RFC-1345';
 
 Html({
@@ -93,11 +93,11 @@ if ($mode) {
 for my $colchars (@columns) {
 print '<table class="glyphs dimap"><col>';
 print qq'<colgroup span="$_">' for map {scalar @$_} @{$colchars};
-print "</colgroup><col>\n";
+say '</colgroup><col>';
 for my $section (qw{thead tfoot}) {
        print "<$section><tr><th>↳";
        print '<th>', EscapeHTML($_) for map {@$_} @{$colchars};
-       print "<th>&nbsp;\n";
+       say '<th>&nbsp;';
 }
 for my $c1group (@chars) {
        print '<tbody>';
@@ -126,10 +126,10 @@ for my $c1group (@chars) {
                        printf "\n".'<td class="%s" title="%s">%s',
                                join(' ', @class), EscapeHTML($desc), $glyph;
                }
-               print "\n<th>", EscapeHTML($c1), "\n";
+               say "\n<th>", EscapeHTML($c1);
        }
 }
-print "</table>\n";
+say '</table>';
 print '<hr>' if exists $get{split};
 }