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