keyboard/altgr: cache code include (package)
[sheet.git] / keyboard / altgr / ukext.eng.inc.pl
index affecaf288b4403474af6cefa0e7ae7135a4f9fa..87d629a012652ec5a8372dac5601200096a306cb 100644 (file)
@@ -1,7 +1,10 @@
 use utf8;
 use strict;
 use warnings;
-our %rows = (
+require './keyboard/altgr/groups.inc.pl';
+Shiar_Sheet::KeyboardChars->import('kbchars');
+
+my %rows = (
        '~' => '¦',
        '!' => '¡',
        '1' => '¹',
@@ -100,7 +103,7 @@ $rows{'['} = $rows{'2'};
 $rows{']'} = $rows{'#'};
 
 +{
-       %{ do 'keyboard/altgr/groups.inc.pl' },
+       %{ kbchars(\%rows) },
        title => 'UK-extended',
        version => '1.0',
        intro => join("\n",