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