Skip to content

Instantly share code, notes, and snippets.

@miyagawa
Created April 16, 2010 08:43
Show Gist options
  • Save miyagawa/368175 to your computer and use it in GitHub Desktop.
Save miyagawa/368175 to your computer and use it in GitHub Desktop.
# install perlbrew
curl -O -L http://xrl.us/perlbrew
perl perlbrew install
rm perlbrew
# setup perlbrew
~/perl5/perlbrew/bin/perlbrew init
echo "source $HOME/perl5/perlbrew/etc/bashrc" >> ~/.bashrc
# restart your shell
exec $SHELL
# install perl 5.12.0: this takes ~10 minutes
perlbrew -v install perl-5.12.0
# switch to it
perlbrew switch perl-5.12.0
# install cpanminus
curl -L http://cpanmin.us | perl - --self-upgrade
# Congratulations! Now you can pull in your favorite modules
cpanm Task::Plack
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment