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
Advanced Perl 2013 - Perl programming /LUGA
Search
Ulrich Habel
March 23, 2013
Technology
190
0
Share
Advanced Perl 2013 - Perl programming /LUGA
Slides for the LUGA / LIT Workshop about Perl programming with modern toolchains.
Ulrich Habel
March 23, 2013
More Decks by Ulrich Habel
See All by Ulrich Habel
given - when, for business critical applications (LPW2012)
rhaen
2
110
Other Decks in Technology
See All in Technology
情シスがMCP環境導入時に打ちのめされる認可の崖
oidfj
0
750
ITエンジニアを取り巻く環境とキャリアパス / A career path for Japanese IT engineers
takatama
4
1.8k
AI時代の私の技術インプットとアウトプット術
tonkotsuboy_com
15
7.6k
freee-mcpを Local→Remote で出してわかった MCP認可実装のリアル
terara
3
910
AIが変えた"品質の守り方"
kkakizaki
13
5.2k
エンジニアは生成AIと どのように向き合うべきか? ことばの意味という観点から
verypluming
3
280
イベントで大活躍する電子ペーパー名札 〜その3〜 / ビジュアルプログラミングIoTLT vol.23
you
PRO
0
160
責任あるソフトウェアエンジニアリングの紹介4章・5章 / RSE_Ch4-5
ido_kara_deru
0
360
Spring Boot における AOT Cache 活用テクニックと 起動時間改善事例
ntt_dsol_java
0
160
ルールやカスタム機能、どう使う?理想の出力を引き出すために今知りたいIBM Bob 5つの機能
muehara
0
110
Harnessing the Power of Mocks and Stubs in PHPUnit / #laravellivejp
asumikam
0
730
権限管理設計を完全に理解した
rsugi
2
230
Featured
See All Featured
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.8k
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
65
55k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
122
21k
BBQ
matthewcrist
89
10k
How Software Deployment tools have changed in the past 20 years
geshan
0
34k
A Tale of Four Properties
chriscoyier
163
24k
The Art of Programming - Codeland 2020
erikaheidi
57
14k
Reality Check: Gamification 10 Years Later
codingconduct
0
2.2k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
180
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
350
Discover your Explorer Soul
emna__ayadi
2
1.1k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.7k
Transcript
Perl Workshop 2013 (Luga/#lit2013) Montag, 25. März 13
Ulrich Habel Toolchain Builder Perl Evangelist SysAdmin/Devops @rabenfeder
[email protected]
http:/
/www.pkgbox.de Foto: Mark Keating Montag, 25. März 13
"Life is a data structure" - sometimes it's hard to
build the AST - myself, Nov. 2012 Montag, 25. März 13
Agenda Crashkurs Perl / Setup der Boxen Lebenswertes Perl (local::lib,
perlbrew, cpanm) Wunderkinder (scalar/Data::Dumper) Kommandozeilen Affären (App::Cmd) Rule em all! (Dist::Zilla) App::Cmd - reloaded Du und das Objekt (Moo) Objekt, Alter? Objekt! (Moo, Moo::Role) Montag, 25. März 13
Tools of trade local::lib - Module "lokal" verwenden perlbrew -
Erzeugen eines benutzbaren Perls cpanm - Installation von Modulen, Erweiterungen Dist::Zilla - Module sinnvoll erstellen Montag, 25. März 13
local::lib Installiert Perl Module im Home Directory Benutzbar für "extlib"
bundles $ perl Makefile.PL --bootstrap $ make test && make install $ echo 'eval $(perl -I$HOME/perl5/lib/perl5 \ -Mlocal::lib)' >>~/.bashrc Montag, 25. März 13
perlbrew Installation denkbar einfach Erfordert perl-5.8.8, make, gcc $ curl
-kL http://install.perlbrew.pl | bash Montag, 25. März 13
perlbrew - commons $ perlbrew install 5.16.3 $ perlbrew switch
5.16.3 $ perlbrew available $ perlbrew install-cpanm $ perlbrew install-ack $ export PERLBREW_ROOT=/opt/perl5 Montag, 25. März 13
cpanm Einfache Installation "Online" Lookup Deutlich speicherfreundlicher als CPAN.pm Montag,
25. März 13
cpanm $ curl -LO http://xrl.us/cpanm && \ chmod +x cpanm
Req: gcc, make, tar, perl >= 5.88, Module::Build (core >= 5.10.1) Montag, 25. März 13
cpanm - commons $ cpanm Dist::Zilla $ cpanm --installdeps .
$ cpanm -L extlib Dist::Zilla # uncommon - useful $ cpanm --mirror-only Montag, 25. März 13
Dist::Zilla Erstmalig sehr aufwendige Installation Nur in der Entwicklungsumgebung erforderlich
Es macht "alles" aka boilerplating Montag, 25. März 13
dzil - commons $ dzil setup $ dzil new Luga::Talk
(dist.ini - lib/...) Montag, 25. März 13
dzil - rule em Pod documentation Makefile.PL Generierung Plugins Montag,
25. März 13
Fragen? Fragen! Ulrich Habel (
[email protected]
) Montag, 25. März 13