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
98
Other Decks in Technology
See All in Technology
AI駆動PjMの理想像 と現在地 -実践例を添えて-
masahiro_okamura
1
110
ファインディの横断SREがTakumi byGMOと取り組む、セキュリティと開発スピードの両立
rvirus0817
1
1.3k
Tebiki Engineering Team Deck
tebiki
0
24k
外部キー制約の知っておいて欲しいこと - RDBMSを正しく使うために必要なこと / FOREIGN KEY Night
soudai
PRO
12
5.2k
All About Sansan – for New Global Engineers
sansan33
PRO
1
1.3k
コスト削減から「セキュリティと利便性」を担うプラットフォームへ
sansantech
PRO
3
1.4k
名刺メーカーDevグループ 紹介資料
sansan33
PRO
0
1k
Introduction to Sansan, inc / Sansan Global Development Center, Inc.
sansan33
PRO
0
3k
プロポーザルに込める段取り八分
shoheimitani
1
190
入社1ヶ月でデータパイプライン講座を作った話
waiwai2111
1
280
Frontier Agents (Kiro autonomous agent / AWS Security Agent / AWS DevOps Agent) の紹介
msysh
3
160
IaaS/SaaS管理における SREの実践 - SRE Kaigi 2026
bbqallstars
4
1.8k
Featured
See All Featured
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
72
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.8k
Unsuck your backbone
ammeep
671
58k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
GitHub's CSS Performance
jonrohan
1032
470k
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
51
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
0
140
Rebuilding a faster, lazier Slack
samanthasiow
85
9.4k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
270
A designer walks into a library…
pauljervisheath
210
24k
The Power of CSS Pseudo Elements
geoffreycrofte
80
6.2k
Deep Space Network (abreviated)
tonyrice
0
47
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