keyboard/altgr: cache code include (package)
[sheet.git] / keyboard / altgr / macos.eng.inc.pl
index d7bed09ef66a534e2d27fcb84bbd37a843025faf..4c80397d0bab490780d89d5fb46c773a79046ff3 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 = (
        'A' => 'Å',
        'a' => 'å',
        'B' => 'ı',
@@ -99,7 +102,7 @@ our %rows = (
 );
 
 +{
-       %{ do 'keyboard/altgr/groups.inc.pl' },
+       %{ kbchars(\%rows) },
        version => '1.3',
        title => 'US option',
        intro => join("\n",