Skip to content

Instantly share code, notes, and snippets.

@esobchenko
Created March 30, 2011 09:12
Show Gist options
  • Save esobchenko/894105 to your computer and use it in GitHub Desktop.
Save esobchenko/894105 to your computer and use it in GitHub Desktop.
#!/usr/local/bin/bash
# install perlbrew
curl -L http://xrl.us/perlbrewinstall | bash
$HOME/perl5/perlbrew/bin/perlbrew init
echo source $HOME/perl5/perlbrew/etc/bashrc >> ~/.bash_profile
source $HOME/perl5/perlbrew/etc/bashrc
# install cpanm
cd $HOME/perl5/perlbrew/bin
curl -LO http://xrl.us/cpanm
chmod +x cpanm
# install perl
perlbrew install perl-5.12.3
perlbrew use perl-5.12.3
# install modules
cpanm Mojolicious
cpanm List::MoreUtils
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment