unicode: one set of barb arrows from unicode 7.0
[sheet.git] / apl.plp
diff --git a/apl.plp b/apl.plp
index 546be3beb9a219df5668500019e7dd45bd918593..929c4243cc7d40cf7044c8056275ef0ed59b8a03 100644 (file)
--- a/apl.plp
+++ b/apl.plp
@@ -29,7 +29,7 @@ use Shiar_Sheet::FormatChar;
 my $glyphs = Shiar_Sheet::FormatChar->new;
 
 my @ops = do 'apl.inc.pl';
-@ops > 1 or die "cannot open operator include: $@\n";
+@ops > 1 or Abort("cannot open operator include", 500, $@ // $!);
 
 :>
 <h1>APL Symbols</h1>
@@ -51,7 +51,7 @@ my @ops = do 'apl.inc.pl';
 <:
 for my $op (@ops) {
        $op or do {
-               print "<tbody>\n";
+               say '<tbody>';
                next;
        };
 
@@ -74,22 +74,12 @@ for my $op (@ops) {
                map { !!$_->[1] && qq( title="$_->[1]"), $_->[0] }
                [map { EscapeHTML($_) } split /\n/, $_, 2]
        ) for $monad, $dyad;
-       print "</td>\n";
+       say '</td>';
 }
 
 :></table>
 </div>
 
-<hr>
-
-<div class="legend">
-       <table class="glyphs"><tr>
-       <td class="X l5">unicode 1.1
-       <td class="X l4">20th century
-       <td class="X l3">in 6.0 (2010)
-       <td class="X l2">recent assignments
-       <td class="X l1">proposed
-       <td class="ex">irregular
-       </table>
-</div>
+<:
+say for '<hr/>', $glyphs->legend;