apl: operator data as array reference
[sheet.git] / apl.plp
diff --git a/apl.plp b/apl.plp
index d01d3ed6524171bc930b63bd08a2142d4b89c590..efd1f3519eade8a93503d8fbb440b545b6a166f1 100644 (file)
--- a/apl.plp
+++ b/apl.plp
@@ -27,7 +27,7 @@ EOT
 
 use Shiar_Sheet::FormatChar;
 my $glyphs = Shiar_Sheet::FormatChar->new;
-my @ops = Data('apl');
+my $ops = Data('apl');
 
 :>
 <h1>APL Symbols</h1>
@@ -47,7 +47,7 @@ my @ops = Data('apl');
 <tbody>
 
 <:
-for my $op (@ops) {
+for my $op (@{$ops}) {
        $op or do {
                say '<tbody>';
                next;