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でコーディングするのか@吉祥寺.pm16
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
korenari
November 22, 2018
Programming
0
990
なぜ私はPerlで コーディングするのか@吉祥寺.pm16
吉祥寺.pm16の登壇資料
https://kichijojipm.connpass.com/event/104750/
https://twitter.com/Korenari_D
korenari
November 22, 2018
Tweet
Share
More Decks by korenari
See All by korenari
Perlとテキストデータクリーニング@吉祥寺.pm18
korenari
0
2.1k
サーバレス日本語形態素解析エンジンとの格闘記録
korenari
0
2.5k
Other Decks in Programming
See All in Programming
React Native × React Router v7 API通信の共通化で考えるべきこと
suguruooki
0
100
OSSとなったswift-buildで Xcodeのビルドを差し替えられるため 自分でXcodeを直せる時代になっている ダイアモンド問題編
yimajo
3
630
Raku Raku Notion 20260128
hareyakayuruyaka
0
360
Apache Iceberg V3 and migration to V3
tomtanaka
0
170
ぼくの開発環境2026
yuzneri
0
240
AIと一緒にレガシーに向き合ってみた
nyafunta9858
0
250
ノイジーネイバー問題を解決する 公平なキューイング
occhi
0
110
【卒業研究】会話ログ分析によるユーザーごとの関心に応じた話題提案手法
momok47
0
200
AI巻き込み型コードレビューのススメ
nealle
2
1.4k
今から始めるClaude Code超入門
448jp
8
9.1k
Gemini for developers
meteatamel
0
100
なるべく楽してバックエンドに型をつけたい!(楽とは言ってない)
hibiki_cube
0
140
Featured
See All Featured
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.3k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
KATA
mclloyd
PRO
34
15k
The World Runs on Bad Software
bkeepers
PRO
72
12k
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
5.2k
The Pragmatic Product Professional
lauravandoore
37
7.1k
A designer walks into a library…
pauljervisheath
210
24k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
67
The SEO Collaboration Effect
kristinabergwall1
0
350
The agentic SEO stack - context over prompts
schlessera
0
650
Statistics for Hackers
jakevdp
799
230k
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
1
300
Transcript
ͳͥࢲ1FSMͰ ίʔσΟϯά͢Δͷ͔ 8 6 . 2 0 1
ࣗݾհ T G . , N F R D LP
LP , , !,PSFOBSJ@%
͜ͷλΠτϧʹ͖͔͚ͨͬ͠ https://twitter.com/black_kaiji/status/1057973231427059714
͜ͷλΠτϧʹ͖͔͚ͨͬ͠ https://twitter.com/black_kaiji/status/1057973231427059714 https://twitter.com/black_kaiji/status/1058712946098892800
ࠓͷαϚϦʔ •ͳͥࢲ1FSMͰίʔσΟϯά͢Δͷ͔
ࠓͷαϚϦʔ •ͳͥࢲ1FSMͰίʔσΟϯά͢Δͷ͔ •͍ •͍͢ •͏·͍
ࠓͷαϚϦʔ •ͳͥࢲ1FSMͰίʔσΟϯά͢Δͷ͔ •͍ ʜʜ Ϩεϙϯεॲཧ͕͍ •͍͢ ʜʜ লϝϞϦ •͏·͍ ʜʜ
ߦͰਖ਼نදݱ͕ॻ͚Δ
ࠓͷαϚϦʔ •ͳͥࢲ1FSMͰίʔσΟϯά͢Δͷ͔ •͍ ʜʜ Ϩεϙϯεॲཧ͕͍ •͍͢ ʜʜ লϝϞϦ •͏·͍ ʜʜ
ߦͰਖ਼نදݱ͕ॻ͚Δ 㲎 ਖ਼نදݱϦςϥϧ͕͋Δʂ
ਖ਼نදݱϦςϥϧʁ •ӈهͷࣈ෦ •1FSMͰએݴ͕ෆཁͰਖ਼ن දݱ͕ར༻Մೳ •෦Ͱྑ͍ײ͡ʹίϯύΠϧ •
$word = ‘kichijoji’; if ($word =~ /^k/) { print ”OK ¥n"; } else { print ”NG ¥n"; }
ਖ਼نදݱϦςϥϧͬͯԿ͕خ͍͠ͷʁ • ਖ਼نදݱϦςϥϧ͕ͳ͍ͱɺਖ਼نදݱΛద༻͢Δ͝ͱʹɺຖ ճਖ਼نදݱΛίϯύΠϧ͢ΔίʔυΛॻ͖͕ͪͰ͢ɻ • ͜Εɺ࣮ߦΛେ෯ʹѱԽͤ͞·͢ɻ • ਖ਼نදݱϦςϥϧ͕͋Εɺਖ਼نදݱΛݴޠॲཧܥଆͰίϯύ Πϧ͍ͯ͠ճ͢͜ͱ͕Ͱ͖ΔͷͰɺ࣮ߦ্͕͠·͢ɻ
http://blog.kazuhooku.com/2013/12/blog-post.html
ࢀߟ ͪΐͬͱલʹʹͳͬͨΒ͍͠ • ਖ਼نදݱ͕ߏจͱͯ͠ඞཁ͔Ͳ͏͔ͱ͍͏͔Β IUUQTUPHFUUFSDPNMJ ʢ݄ʣ • ϓϩάϥϛϯάݴޠʹ͓͚Δਖ਼نදݱϦςϥϧͷඞཁੑʹ͍ͭͯ IUUQCMPHLB[VIPPLVDPNCMPHQPTUIUNM ʢ݄ʣ
• ਖ਼نදݱϦςϥϧຊʹඞཁͳͷ͔ʁ IUUQTXXXTMJEFTIBSFOFULXBUDITT ʢ݄ !1Z$PO+1ʣ
1FSMͱ͍͑ϫϯϥΠφʔ perl -ne 'print if 30 ..
40’ *.txt 3040 perl -pi -e 's/foo/bar/g;’ t1.txt > t2.txt foobar ! perl -ne 'print if /./' t1.txt > t2.txt . $ →" Perl %#
1FSMͱ͍͑ϫϯϥΠφʔ perl -ne 'print if 30 ..
40’ *.txt 3040!# perl -pi -e 's/foo/bar/g;’ t1.txt > t2.txt foobar$) perl -ne 'print if /./' t1.txt > t2.txt . + !# →%!*( ' " TL& m(_ _ )m
ॳΊͯ1FSMͰൃදͰ͖ͨʂʂ