Authen::TOTP versions before 0.1.1 for Perl generate secrets using rand. Secrets were generated using Perl's built-in rand function, which is predictable and unsuitable for security usage.
To install Authen::TOTP, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Authen::TOTP
CPAN shell
perl -MCPAN -e shell install Authen::TOTP
For more information on module installation, please visit the detailed CPAN module installation guide.