keyboard/altgr: cache code include (package)
[sheet.git] / keyboard / altgr / msx.eng.inc.pl
index 6ea44e2d8f07d190193f3c8e46c2fc83432491ef..b84e37a42eefbaa7c1b25d07aa54984de7c63e8d 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' => 'ƒ',
        '@' => '₧',
@@ -80,7 +83,7 @@ our %rows = (
 );
 
 +{
-       %{ do 'keyboard/altgr/groups.inc.pl' },
+       %{ kbchars(\%rows) },
        version => '1.0',
        title => 'msx code',
        intro => join("\n",