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 Secret Operators
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
gvenkat
June 22, 2013
Programming
67
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Perl Secret Operators
Original idea by Peteris Krumins (
http://www.catonmat.net/blog/secretperloperators/
)
gvenkat
June 22, 2013
Other Decks in Programming
See All in Programming
SREの越境 / SRE Collaboration
y0hgi
2
310
HTML-in-Canvasで作る未来のWeb UI表現
clockmaker
5
5.1k
When benchmarks go bad - what I learned from measuring performance wrong
hollycummins
0
220
コードで差別化できない時代の ソフトウェアエンジニアリング / Software Engineering in an Era Where Code Doesn’t Differentiate
kishida
2
180
Railsバージョンを4倍にした話
optim
0
350
Event is what happens
moro
2
780
Unity6 URPによる海底をテーマにしたVJシステムの解説 | Unity Shader 完全に理解した 勉強会
gam0022
0
370
Next.js: The final boss of Web Performance
guaca
0
260
ハーネス設計入門 〜 基礎知識の整理から実務へのステップアップ 〜
kinopeee
28
32k
設計次第でAIコードの読む量は減らせる / designing-for-code-reading
minodriven
35
17k
AIに “答え“を書かせるのを やめてみた
___akari11
0
120
複雑なUIコンポーネントとの ⻑い付き合い⽅:波及するバグからテスト戦略を経て、安全な再設計へ
mixplace
0
410
Featured
See All Featured
Color Theory Basics | Prateek | Gurzu
gurzu
1
490
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.6k
How to train your dragon (web standard)
notwaldorf
96
6.9k
Optimizing for Happiness
mojombo
378
71k
[SF Ruby Conf 2025] Rails X
palkan
3
1.5k
From π to Pie charts
rasagy
1
400
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
33
5.2k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
450
GitHub's CSS Performance
jonrohan
1033
470k
How to Talk to Developers About Accessibility
jct
2
580
brightonSEO & MeasureFest 2025 - Winning Strategies for Black Friday CRO & PPC - Christian Goodrich
cargoodrich
3
870
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
1
450
Transcript
Perl's very own top secret operators
IRC: wolf_ Github: gvenkat
Don't Ask I have no idea why
Stole it Shamelessly Peteris Krumins http://www.catonmat.net/blog/secretperloperators/
Spaceship <=> my @numbers = ( 25, 12, 19, 23,
82 ); print sort { $a <=> $b } @numbers;
Eskimo Greeting }{ perl lne '}{ print $.'
Goatse =()= my $count =()= $str =~ /\d/g;
The Turtle operator @{[ ]} print "We have @{[ all_the_food
]} you need"
The Inchworm Operator ~~ print ~~@goats_i_have
The Inchworm on a Stick ~ my $x = 23;
print ~$x;
Spacestation + +"4idlies"
The Venus Operator 0+ print 0+"8 Masala Dosas"
Thank You!