git.shiar.nl
/
sheet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
apl: operator data as array reference
[sheet.git]
/
apl.plp
diff --git
a/apl.plp
b/apl.plp
index 9ca99701ff2ff92f9f32176dbb1b12cdfeb24aef..efd1f3519eade8a93503d8fbb440b545b6a166f1 100644
(file)
--- a/
apl.plp
+++ b/
apl.plp
@@
-27,9
+27,7
@@
EOT
use Shiar_Sheet::FormatChar;
my $glyphs = Shiar_Sheet::FormatChar->new;
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>
:>
<h1>APL Symbols</h1>
@@
-49,7
+47,7
@@
my @ops = do 'apl.inc.pl';
<tbody>
<:
<tbody>
<:
-for my $op (@
ops
) {
+for my $op (@
{$ops}
) {
$op or do {
say '<tbody>';
next;
$op or do {
say '<tbody>';
next;