common: global Data() to parse perl code includes
[sheet.git] / apl.plp
diff --git a/apl.plp b/apl.plp
index 929c4243cc7d40cf7044c8056275ef0ed59b8a03..d01d3ed6524171bc930b63bd08a2142d4b89c590 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 Abort("cannot open operator include", 500, $@ // $!);
+my @ops = Data('apl');
 
 :>
 <h1>APL Symbols</h1>