Install Perl Module In User Directory

  • option 1
echo 'eval $(perl -Mlocal::lib)' >> ~/.bashrc
source ~/.bashrc
cpan
cpan> install Module::Load::Conditional  
  • option 2
curl -L http://cpanmin.us | perl - Module::Load::Conditional

Updated: