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.