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