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
99
0
Share
perl-development-environment
Shoichi Kaji
February 27, 2014
More Decks by Shoichi Kaji
See All by Shoichi Kaji
go-exhaustruct linterのすすめ
skaji
0
110
Parallel::Pipesの紹介
skaji
2
1.1k
宿泊予約サイトにおける検索と料金計算の両立
skaji
2
4.1k
昔のGo, 今のGo ~比較, ソート編~
skaji
0
280
Perl Quiz
skaji
0
170
cpm at PerlCon 2019
skaji
0
140
Perl5 Package Manager
skaji
0
780
Internal of cpm
skaji
0
650
How to execute external programs in Perl
skaji
3
730
Featured
See All Featured
Bash Introduction
62gerente
615
210k
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
390
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
62
53k
Writing Fast Ruby
sferik
630
63k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.9k
Discover your Explorer Soul
emna__ayadi
2
1.1k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
88
The Pragmatic Product Professional
lauravandoore
37
7.2k
Testing 201, or: Great Expectations
jmmastey
46
8.1k
Information Architects: The Missing Link in Design Systems
soysaucechin
0
870
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