If you do Perl programming or if a program you have needs a perl module, you could download and compile it manually but the easier way would be to use CPAN (the Comprehensive Perl Archive Network).
CPAN
First thing you should do is see if your distribution has it in it’s packages repository so that it can be easily added/removed. If it isn’t, be sure you have perl installed and start the cpan shell:
perl -MCPAN -e shell
Then upgrade the local CPAN module database:
install Bundle::CPAN reload cpan
Then to install (for example HTML::Template):
install HTML::Template exit
Once the database is downloaded you don’t need to use the shell anymore to add a module:
perl -MCPAN -e 'install HTML::Template'