sc: update mode specials metadata
[sheet.git] / apl.plp
diff --git a/apl.plp b/apl.plp
index ba51a112f10e2cef917e8752f7ce8082b7651dd6..efd1f3519eade8a93503d8fbb440b545b6a166f1 100644 (file)
--- a/apl.plp
+++ b/apl.plp
@@ -27,9 +27,7 @@ EOT
 
 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";
+my $ops = Data('apl');
 
 :>
 <h1>APL Symbols</h1>
@@ -49,7 +47,7 @@ my @ops = do 'apl.inc.pl';
 <tbody>
 
 <:
-for my $op (@ops) {
+for my $op (@{$ops}) {
        $op or do {
                say '<tbody>';
                next;
@@ -80,16 +78,6 @@ for my $op (@ops) {
 :></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;