Upgrade to Pro — share decks privately, control downloads, hide ads and more …

perl-development-environment

Shoichi Kaji
February 27, 2014
89

 perl-development-environment

Shoichi Kaji

February 27, 2014
Tweet

Transcript

  1. QMFOW Yet another *env! ! > git clone git://github.com/tokuhirom/plenv.git ~/.plenv

    > $EDITOR .bashrc > git clone git://github.com/tokuhirom/Perl- Build.git ~/.plenv/plugins/perl-build > plenv install 5.18.2 > plenv global 5.18.2 > perl -E ‘say $^V’ v5.18.2
  2. DQBON > curl -L http://cpanmin.us | \ perl - App::cpanminus

    ! > cpanm Mojolicious > cpanm git://github.com/plack/Plack.git > cpanm ——dev Carton > cpanm ——pureperl Mouse
  3. DQBONM - ޷͖ͳσΟϨΫτϦʹΠϯετʔϧ͍ͨ͠ ! > cpanm -l ext LWP::UserAgent (ext/lib/perl5

    ҎԼʹΠϯετʔϧ) > cpanm -L ext LWP::UserAgent (-lͱಉ༷͕ͩίΞϞδϡʔϧҎ֎͸࠶౓Πϯετʔϧ)
  4. DQBOpMF Ϟδϡʔϧ΁ͷґଘΛ͍͍ײ͡ʹॻ͍͓͖͍ͯͨ -> cpanfile! ! > cat cpanfile requires “Amon2”;

    requires “Starman”, “== 0.4006”; ! > cpanm ——installdeps . > cpanm ——installdeps -Lext .