Skip to content

Instantly share code, notes, and snippets.

@kazuph
Created April 26, 2012 09:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kazuph/2498001 to your computer and use it in GitHub Desktop.
Save kazuph/2498001 to your computer and use it in GitHub Desktop.
# install perlbrew and install perl-5.12.4 on Mac OS X Lion
$ curl -LO http://xrl.us/perlbrew
$ perl perlbrew install
$ rm perlbrew
$ ~/perl5/perlbrew/bin/perlbrew init
$ echo 'source ~/perl5/perlbrew/etc/bashrc' >> ~/.bashrc
$ source ~/.bashrc
(if you use ZSH?, then replace ".bashrc" -> ".zshrc".)
$ export PERLBREW_ROOT=${HOME}/perl5/perlbrew
$ curl -k -L https://raw.github.com/gist/962406/93cd90f5e6c6a86073afb3815f0ea06c3c9e99ed/patchperl -o $PERLBREW_ROOT/bin/patchperl
$ chmod +x $_
$ perlbrew install perl-5.12.4
# install cpanm
$ curl -L http://cpanmin.us | perl - App::cpanminus
# Thank you.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment