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
To install ACME::KeyboardMarathon, copy and paste the appropriate command in to your terminal.
cpanm
cpanm ACME::KeyboardMarathon
CPAN shell
perl -MCPAN -e shell install ACME::KeyboardMarathon
For more information on module installation, please visit the detailed CPAN module installation guide.