common: global Data() to parse perl code includes
[sheet.git] / unicode.plp
index d710b0edd85df4a42b1dc873547e46101268ce34..0ba7c3f46cdc8975bea9ec67006ea751062f42c4 100644 (file)
@@ -129,7 +129,7 @@ splice @config, 4, 2, qw(
 
 $_ and m{/*+(.+)} and @config = split /[ ]/, $1 for $Request, $get{q};
 
-my $tables = do 'unicode-table.inc.pl' or die $@ || $!;
+my $tables = Data('unicode-table');
 
 $glyphs->print(map {
        $_ = /(.*)\?(.*)/ ? ($verbose ? $2 : $1) : $_;