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
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
4k
昔の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
The Invisible Side of Design
smashingmag
302
51k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
34k
Docker and Python
trallard
47
3.7k
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
110
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3.2k
Raft: Consensus for Rubyists
vanstee
141
7.3k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.1k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.3k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
230
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.3k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
0
130
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
0
130
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