To install Class::Date, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Class::Date
CPAN shell
perl -MCPAN -e shell install Class::Date
For more information on module installation, please visit the detailed CPAN module installation guide.