Installing a module in Perl is incredibly easy, using cpan. cpan is included with the installation of Perl. Simply type cpan on the command line to start the cpan command line prompt.
Then, use the install force module_name command to install a module. In this example, the SSH module is installed.
cpan> force install Net::SSH::Perl