X-Git-Url: http://git.shiar.net/sheet.git/blobdiff_plain/88048e2c00e3e9a9c172e788722354017cd401ec..58725794d72361cc70cb082476a32d08e22d21d0:/mplayer.plp diff --git a/mplayer.plp b/mplayer.plp index 077c7c5..f7b4445 100644 --- a/mplayer.plp +++ b/mplayer.plp @@ -1,7 +1,7 @@ <(common.inc.plp)><: my $mode = $Request eq 'mpv' ? $Request : 'MPlayer'; -my $include = "\L$mode.eng.inc.pl"; +my $include = "\L$mode.eng"; Html({ title => "\L$mode\E cheat sheet", @@ -16,14 +16,14 @@ Html({ '], stylesheet => [qw( light dark circus mono red )], keys => 1, - data => [$include], + data => ["$include.inc.pl"], }); say "

$mode cheat sheet

"; say ''; use Shiar_Sheet::Keyboard 2; -my $info = do $include or die $@; +my $info = Data($include); my $keys = Shiar_Sheet::Keyboard->new($info); $keys->map($get{map}) or undef $get{map}; $keys->print_rows($get{rows}, [1,0]);