Here's a quick way to install perl modules. The module that I'm trying to install is Cache::Cache

# yum -y install perl-CPAN
# perl -MCPAN -e 'shell'

Then you will be prompted:

Would you like me to configure as much as possible automatically? [yes] yes

cpan> o conf urllist push ""
cpan> reload index
cpan> o conf commit
cpan> look Cache::Cache

Then you will be dropped to a shell that looks something like this:

[root@ip-10-128-93-159 Cache-Cache-1.06-GkW_ap]#

Then do:

# perl Makefile.PL
# make
# make install

Type exit to go back to cpan prompt and exit again to go to command prompt.

My test environment was on an Amazon EC2 AMI. The procedure could also work on any Redhat or CentOS distro. I only recommend this procedure for installing when the perl module involved is not available in the default repo or if installing from repo will cause package conflicts. Otherwise use yum install the module.