Perlbrew

Introduction

Perlbrew isolates different Perl versions and CPAN installations and helps you switch between them. It automates your environment setup and teardown. Using perlbrew means not having to clutter your default system Perl with application-specific CPAN dependencies.

http://perlbrew.pl/

Usage

 module load perl/5.12.4
OR
 module load perl/5.14.2
OR
 module load perl/5.15.8

Installation

To install perlbrew in /sw/perlbrew, download the installer and pass it the PERLBREW_ROOT environment variable.
cd /sw/perlbrew
export PERLBREW_ROOT=/sw/perlbrew
curl -LO http://xrl.us/perlbrew
chmod +x perlbrew
./perlbrew install

Adding Modules

module load perl/5.15.8
perl -MCPAN -e shell
install Bundle::CPAN
reload cpan
install File::Which
install  XML::Simple

Reference

1. http://blog.endpoint.com/2011/02/managing-perl-environments-with.html
2.