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
今!ソフトウェアエンジニアがハードウェアに手を出すには
mackee
15
5.3k
ワンバイナリWebサービスのススメ
mackee
10
8.1k
tanukistack ライブコーディング / tanukistack live-coding
mackee
0
120
range over funcの使い道と非同期N+1リゾルバーの夢 / about a range over func
mackee
0
950
perl for shell, awk and sed programmers
mackee
3
2.5k
今更GoのWebフレームワークを作ろうとしているワケ / Why am I trying to create a Go web framework now?
mackee
1
930
database/sqlでNullを扱う歴史とsql.Null[T]の登場 / sql.Null[T] history
mackee
0
800
マイクロサービス化を利用した Goへの移行事例
mackee
0
940
PerlでつくるフルスクラッチWebAuthn/パスキー認証 / Demonstration of full-scratch WebAuthn/Passkey Authentication written in Perl
mackee
3
5.4k
Other Decks in Programming
See All in Programming
Claude Agent SDK を使ってみよう
hyshu
0
1.3k
Building, Deploying, and Monitoring Ruby Web Applications with Falcon (Kaigi on Rails 2025)
ioquatix
4
2.5k
タスクの特性や不確実性に応じた最適な作業スタイルの選択(ペアプロ・モブプロ・ソロプロ)と実践 / Optimal Work Style Selection: Pair, Mob, or Solo Programming.
honyanya
3
190
pnpm に provenance のダウングレード を検出する PR を出してみた
ryo_manba
1
140
Six and a half ridiculous things to do with Quarkus
hollycummins
0
210
CSC509 Lecture 07
javiergs
PRO
0
240
kiroとCodexで最高のSpec駆動開発を!!数時間で web3ネイティブなミニゲームを作ってみたよ!
mashharuki
0
830
Developer Joy - The New Paradigm
hollycummins
1
330
Leading Effective Engineering Teams in the AI Era
addyosmani
7
560
登壇は dynamic! な営みである / speech is dynamic
da1chi
0
350
Go言語の特性を活かした公式MCP SDKの設計
hond0413
1
420
TFLintカスタムプラグインで始める Terraformコード品質管理
bells17
2
350
Featured
See All Featured
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.5k
Producing Creativity
orderedlist
PRO
347
40k
How To Stay Up To Date on Web Technology
chriscoyier
791
250k
Raft: Consensus for Rubyists
vanstee
140
7.2k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.5k
The Power of CSS Pseudo Elements
geoffreycrofte
79
6k
The Straight Up "How To Draw Better" Workshop
denniskardys
238
140k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Navigating Team Friction
lara
190
15k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Automating Front-end Workflow
addyosmani
1371
200k
YesSQL, Process and Tooling at Scale
rocio
173
15k
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Ͱͬ ͯΔ͜͠ΕͰԿͰͰ͖ Δ݁ہ͓ۚͷྗҒେͩ ΈΜͳ՝ۚ͠Α͏