Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
perl-development-environment
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Shoichi Kaji
February 27, 2014
0
96
perl-development-environment
Shoichi Kaji
February 27, 2014
Tweet
Share
More Decks by Shoichi Kaji
See All by Shoichi Kaji
Parallel::Pipesの紹介
skaji
2
1k
宿泊予約サイトにおける検索と料金計算の両立
skaji
2
4.1k
昔のGo, 今のGo ~比較, ソート編~
skaji
0
270
Perl Quiz
skaji
0
160
cpm at PerlCon 2019
skaji
0
140
Perl5 Package Manager
skaji
0
770
Internal of cpm
skaji
0
640
How to execute external programs in Perl
skaji
3
720
Writing Perl with w0rp/ale
skaji
0
2.4k
Featured
See All Featured
Designing for Performance
lara
610
70k
Odyssey Design
rkendrick25
PRO
1
490
Building an army of robots
kneath
306
46k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
56
50k
Optimising Largest Contentful Paint
csswizardry
37
3.6k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
2k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
72
The SEO Collaboration Effect
kristinabergwall1
0
350
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.2k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
110
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
440
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.6k
Transcript
ָ͘͠ͳΔ 1FSM։ൃڥ 4IPJDIJ,BKJ
"CPVUNF w /BNF4IPJDIJ,BKJ w JETLBKJTIPJDIJLBKJLT
1FSMָ͕͘͠ͳΔʹʁ w ࣗ༝ʹ1FSMΛ͑Δ w TVEPͳΜͯඞཁͳͯ͘ w ͖ͳͱ͜ΖʹϞδϡʔϧΛΠϯετʔϧͰ͖ ͯ w ͍Βͳ͘ͳͬͨΒͬ͞ͱফͤΔ
"HFOEB w QMFOW w DQBON w DQBONM - w DQBOpMF
QMFOW
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
DQBON JOTUBMMNPEVMFTGSPN $1"/
DQBON > curl -L http://cpanmin.us | \ perl - App::cpanminus
! > cpanm Mojolicious > cpanm git://github.com/plack/Plack.git > cpanm ——dev Carton > cpanm ——pureperl Mouse
DQBONM - ͖ͳσΟϨΫτϦʹΠϯετʔϧ͍ͨ͠ ! > cpanm -l ext LWP::UserAgent (ext/lib/perl5
ҎԼʹΠϯετʔϧ) > cpanm -L ext LWP::UserAgent (-lͱಉ༷͕ͩίΞϞδϡʔϧҎ֎࠶Πϯετʔϧ)
)PXUPVTFFYUEJS > cat your-script.pl use FindBin qw($Bin); use lib “$Bin/ext/lib/perl5”;
use LWP::UserAgent; ! > export PERL5LIB=`pwd`/ext/lib/perl5
DQBOpMF ϞδϡʔϧͷґଘΛ͍͍ײ͡ʹॻ͍͓͖͍ͯͨ -> cpanfile! ! > cat cpanfile requires “Amon2”;
requires “Starman”, “== 0.4006”; ! > cpanm ——installdeps . > cpanm ——installdeps -Lext .
·ͱΊ w QMFOWͰTVEP͕ඞཁͳ͍QFSMΛೖΕͯ w DQBONͰϞδϡʔϧΛΠϯετʔϧͯ͠ w DQBONM -Ͱ͖ͳσΟϨΫτϦʹϞδϡʔϧ ΛΠϯετʔϧͯ͠ w
DQBOpMFͰ͍͍ײ͡ʹϞδϡʔϧͷґଘΛॻ͘ w 1FSMָ͕͘͠ͳΔʂ
5IBOLZPV