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
0
180
Advanced Perl 2013 - Perl programming /LUGA
Slides for the LUGA / LIT Workshop about Perl programming with modern toolchains.
Ulrich Habel
March 23, 2013
Tweet
Share
More Decks by Ulrich Habel
See All by Ulrich Habel
given - when, for business critical applications (LPW2012)
rhaen
2
96
Other Decks in Technology
See All in Technology
激動の時代、新卒エンジニアはAIツールにどう向き合うか。 [LayerX Bet AI Day Countdown LT Day1 ツールの選択]
tak848
0
550
なぜAI時代に 「イベント」を中心に考えるのか? / Why focus on "events" in the age of AI?
ytake
2
620
20250718_ITSurf_“Bet AI”を支える文化とコストマネジメント
helosshi
1
210
M365アカウント侵害時の初動対応
lhazy
7
4.6k
Building GoReleaser - from shell script to paid product
caarlos0
0
270
増え続ける脆弱性に立ち向かう: 事前対策と優先度づけによる 持続可能な脆弱性管理 / Confronting the Rise of Vulnerabilities: Sustainable Management Through Proactive Measures and Prioritization
nttcom
1
180
Ktor + Google Cloud Tasks/PubSub におけるOTel Messaging計装の実践
sansantech
PRO
1
300
機械学習を「社会実装」するということ 2025年夏版 / Social Implementation of Machine Learning July 2025 Version
moepy_stats
1
700
Expertise as a Service via MCP
yodakeisuke
1
150
TROCCO今昔
gtnao
0
210
DatabricksのOLTPデータベース『Lakebase』に詳しくなろう!
inoutk
0
110
エンジニアリングマネージャー“お悩み相談”パネルセッション
ar_tama
1
670
Featured
See All Featured
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
50
5.5k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
109
19k
Fantastic passwords and where to find them - at NoRuKo
philnash
51
3.3k
How GitHub (no longer) Works
holman
314
140k
The Language of Interfaces
destraynor
158
25k
What's in a price? How to price your products and services
michaelherold
246
12k
Fireside Chat
paigeccino
37
3.5k
Code Reviewing Like a Champion
maltzj
524
40k
Producing Creativity
orderedlist
PRO
346
40k
A Tale of Four Properties
chriscoyier
160
23k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
50k
The Power of CSS Pseudo Elements
geoffreycrofte
77
5.9k
Transcript
Perl Workshop 2013 (Luga/#lit2013) Montag, 25. März 13
Ulrich Habel Toolchain Builder Perl Evangelist SysAdmin/Devops @rabenfeder me@rhaen.pm 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 (me@rhaen.pm) Montag, 25. März 13