目の前に僕らの道がある

勉強会とか、技術的にはまったことのメモ

perlbrewを使ってみる。

忘れがちな脳のための覚え書きです。

ダウンロードとインストール。

curl -LO http://xrl.us/perlbrew
chmod +x perlbrew
./perlbrew install

perlbrewの初期化

$HOME/perl5/perlbrew/bin/perlbrew init

設定ファイルに追記。

% cat >> .zshrc

# perlpbrew
source $HOME/perl5/perlbrew/etc/bashrc

設定ファイルを再読込。

% source .zshrc
% which perlbrew
~/perl5/perlbrew/bin/perlbrew

perlをインストール

perlbrew install perl-5.10.1

使用するperlを切り替え

perlbrew switch perl-5.10.1