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
200
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
データ活用研修 データマネジメント【MIXI 26新卒技術研修】
mixi_engineers
PRO
2
410
OpenTelemetryにおけるGoのゼロコード・コンパイル時計装について #fukuokago
quiver
0
330
AIが当たり前の組織で エンジニアはどう育つか
nishihira
1
1.3k
文字起こし基盤の信頼性
abnoumaru
0
140
論語・武士道・産業革命から見る かわるもの、かわらないもの
ichimichi
7
1.1k
システム監視入門
grimoh
2
570
Playwright × AI Agent でE2Eテストはどう変わるか AI駆動テストの可能性と実用検証の結果
taiga7543
2
880
キャリアLT会#3
beli68
2
270
副作用のある Lambda でも Lambda Power Tuning は使えるのか / lambda-power-tuning-side-effects
koukihosaka
2
150
AWS環境のセキュリティ不安を解消した企業事例 ~よくある課題と対策を一挙公開~
asanoharuki
0
190
『モデル + ハーネス』で読み解く AIエージェント入門
oracle4engineer
PRO
2
200
全社でのソフトウェアサプライチェーン攻撃対策をやってみた with Takumi Guard
z63d
0
310
Featured
See All Featured
VelocityConf: Rendering Performance Case Studies
addyosmani
333
25k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
340
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.6k
Mobile First: as difficult as doing things right
swwweet
225
10k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
230
Technical Leadership for Architectural Decision Making
baasie
3
450
Product Roadmaps are Hard
iamctodd
55
12k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.9k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.7k
BBQ
matthewcrist
89
10k
Automating Front-end Workflow
addyosmani
1370
210k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1.2k
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