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
コールバックの話とおもいきや同人誌にPerlを使う話
Search
mackee
August 24, 2013
Programming
0
280
コールバックの話とおもいきや同人誌にPerlを使う話
内容うすい
mackee
August 24, 2013
Tweet
Share
More Decks by mackee
See All by mackee
perlをWebAssembly上で動かすと何が嬉しいの??? / Where does Perl-on-Wasm actually make sense?
mackee
0
620
Agentに至る道 〜なぜLLMは自動でコードを書けるようになったのか〜
mackee
6
5.1k
今!ソフトウェアエンジニアがハードウェアに手を出すには
mackee
14
6.6k
ワンバイナリWebサービスのススメ
mackee
10
8.5k
tanukistack ライブコーディング / tanukistack live-coding
mackee
0
450
range over funcの使い道と非同期N+1リゾルバーの夢 / about a range over func
mackee
0
1.1k
perl for shell, awk and sed programmers
mackee
3
2.7k
今更GoのWebフレームワークを作ろうとしているワケ / Why am I trying to create a Go web framework now?
mackee
1
1.1k
database/sqlでNullを扱う歴史とsql.Null[T]の登場 / sql.Null[T] history
mackee
0
960
Other Decks in Programming
See All in Programming
存在論的プログラミング: 時間と存在を記述する
koriym
3
300
Vuetify 3 → 4 何が変わった?差分と移行ポイント10分まとめ
koukimiura
0
170
エンジニアの「手元の自動化」を加速するn8n 2026.02.27
symy2co
0
170
ロボットのための工場に灯りは要らない
watany
11
3k
AI時代のシステム設計:ドメインモデルで変更しやすさを守る設計戦略
masuda220
PRO
6
1.1k
[PHPerKaigi 2026]PHPerKaigi2025の企画CodeGolfが最高すぎて社内で内製して半年運営して得た内製と運営の知見
ikezoemakoto
0
240
Claude Codeログ基盤の構築
giginet
PRO
7
3.5k
野球解説AI Agentを開発してみた - 2026/02/27 LayerX社内LT会資料
shinyorke
PRO
0
350
AHC061解説
shun_pi
0
410
SourceGeneratorのマーカー属性問題について
htkym
0
210
仕様漏れ実装漏れをなくすトレーサビリティAI基盤のご紹介
orgachem
PRO
7
2.8k
最初からAWS CDKで技術検証してもいいんじゃない?
akihisaikeda
4
160
Featured
See All Featured
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
150
The Illustrated Children's Guide to Kubernetes
chrisshort
51
52k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
1
490
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
300
Discover your Explorer Soul
emna__ayadi
2
1.1k
jQuery: Nuts, Bolts and Bling
dougneiner
65
8.4k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.2k
Product Roadmaps are Hard
iamctodd
PRO
55
12k
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
230
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.3k
Test your architecture with Archunit
thirion
1
2.2k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
230
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Ͱͬ ͯΔ͜͠ΕͰԿͰͰ͖ Δ݁ہ͓ۚͷྗҒେͩ ΈΜͳ՝ۚ͠Α͏