The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

marathon.pl

Example usage of the Acme::KeyboardMarathon module. Just give it filename(s) on the command line as arguments and it returns the total distance.

  $> ./marathon.pl foo.txt bar.txt baz.txt

The first argument may be --qwerty or --dvorak, to specify the keyboard layout. It defaults to QWERTY.