Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
コールバックの話とおもいきや同人誌にPerlを使う話
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
mackee
August 24, 2013
Programming
300
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
コールバックの話とおもいきや同人誌にPerlを使う話
内容うすい
mackee
August 24, 2013
More Decks by mackee
See All by mackee
Go1.27で導入されるジェネリクスメソッドでできること
mackee
0
860
perlをWebAssembly上で動かすと何が嬉しいの??? / Where does Perl-on-Wasm actually make sense?
mackee
0
1.5k
Agentに至る道 〜なぜLLMは自動でコードを書けるようになったのか〜
mackee
6
6.7k
今!ソフトウェアエンジニアがハードウェアに手を出すには
mackee
14
7.6k
ワンバイナリWebサービスのススメ
mackee
10
9.3k
tanukistack ライブコーディング / tanukistack live-coding
mackee
0
930
range over funcの使い道と非同期N+1リゾルバーの夢 / about a range over func
mackee
0
1.2k
perl for shell, awk and sed programmers
mackee
3
3k
今更GoのWebフレームワークを作ろうとしているワケ / Why am I trying to create a Go web framework now?
mackee
1
1.2k
Other Decks in Programming
See All in Programming
Agents on Rails - Rails at Scale 2026
irinanazarova
0
570
外から家のPCの電源入れたい!をPHPで解決する
kawashimo0
1
140
S3 TablesのIcebergデータに、AIエージェントからアクセスしてみた / 20261016developersio2026joetsu-accessing-iceberg-in-s3tables-via-agent
kasacchiful
PRO
0
170
機械に任せるテスト、人が見るテスト ⽣成AIで引き直した、運⽤保守フェーズの線引き
dske104
0
190
Lambda durable functionsでHuman in the Loopを楽に…楽に……
har1101
0
100
AIに “答え“を書かせるのを やめてみた
___akari11
0
120
月間100万人のサービス刷新で、 技術選定をHonoに振り切った話
yutobara
8
6.7k
[ハンズオン]AIへの指示だけで「五目並べ」を作ってみよう
satoshi256kbyte
1
380
設計次第でAIコードの読む量は減らせる / designing-for-code-reading
minodriven
35
17k
UPDATE をやめる — EF Core でマスタをバージョン管理する
panda728
PRO
0
1.2k
Event is what happens
moro
2
860
Agentic Software Factoryに、すごく賢いIF文を。 / super smart IF statement into the Agentic Software Factory.
rkaga
8
2.3k
Featured
See All Featured
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.7k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3k
Code Review Best Practice
trishagee
74
20k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
310
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
340
StorybookのUI Testing Handbookを読んだ
zakiyama
31
7k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
230
23k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
630
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.7k
[Rails World 2026] Durable orchestration on Rails: from continuation to workflow
palkan
1
750
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
2
6.3k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
520
Transcript
͜ʔΔͬ͘ @mackee_w Ϛίϐʔ
͜ʔΔͬ͘ @mackee_w Ϛίϐʔ
ਖ਼ʹݴ͏ͱΘ͠ඇಉظͷ ίʔϧόοΫ͕େݏ͍͡Ό
͜ΕΘ͠ͷ͍ͪ͡ΌΜ͕ݴͬͱ͕ͬͨ ίʔϧόοΫ಄ͷ͍͍ਓͷ͏Ͱ ͡Ό͔Β Θ͠ΒϒϩοΫϒϩοΫϒϩοΫ
ϒϩοΫେ͠Ύ͖ʂʂ
࠷ۙͷPerlͰͬͨࣄ
ಉਓࢽ࡞Γʹ Perl͕େ׆༂͢Δ
ʘ໘͚ʗ
໘͚ͱ • ྫ͑ॎॻ͖ͷB6ͷຊ B6 B6
໘͚ͱ • ྫ͑ॎॻ͖ͷB6ͷຊ B5 • B5ͷࢴʹ2໘ͿΜͬͯ͋ͱͰંΔ
໘͚ͱ • ཪʹͬͯ͜Μͳ͔Μ͡ͷ໘͚ 1 4 ද 2 3 ཪ
ͭ·Γҹઃఆͱ͔Ͱ 1,4,2,3Έ͍ͨʹͯ͠2up
͜ͷྻΛ࡞ΔͷΊΜ Ͳ͍ɻPerlͰ࡞Ζ͏
<=>͍ͬͯ͏தஔԋࢉࢠ • sort { $a <=> $b } @array ͷ࣌ͷΞϨ
• UFO operator͍ͬͯ͏Β͍͠Ͱ͢ • 3ͭू·Δͱspace fleet operator • by perlsecret
<=>͍ͬͯ͏தஔԋࢉࢠ • $a <=> $bͷͱ͖ • $a == $b ͳΒ
0 • $b < $a ͳΒ 1 • $a < $b ͳΒ -1
sortͰ໘͚Λ͢Δ
None
None
͓Θ͔Γ͍͚ͨͩͨͰ ͋Ζ͏͔
ಉਓࢽ੍࡞Ͱ Perl͑Δʂʂʂ
ҙ ͳ͓ݱࡏB5Λࡋஅͯ͠B6ʹ͠ ͯҹ͍ͯ͠ΔͨΊ໘͚ඞཁ ͳ͘ɺ͞ΒʹB5Ͱ͍ͬͯͨͱ͖ PythonͷϦετแදهͰܭ ࢉͨ͠ࣄΛ͓Β͍ͤͨ͠·͢
͋ͱࠓInDesignͰͬ ͯΔ͜͠ΕͰԿͰͰ͖ Δ݁ہ͓ۚͷྗҒେͩ ΈΜͳ՝ۚ͠Α͏