To continue my learning of Unicode Emojis, I thought it'd be fun to try to concoct emojis for some of Perl's famous secret operators.
Here's what I've come up with so far:
| Name | Operator | Emoji | Notes |
|---|---|---|---|
| Diamond | <> | 💎 | nicknamed by Geneva Wall circa 1994 |
| Spaceship | <=> | 🚀 | nicknamed by Heidi Wall and Randal L. Schwartz (merlyn 🪄) circa 1994 |
| Saturn* | =( )= | 🪐 | scalar/list context |
| Kite | ~~<> | 🪁 | a single line of input |
| Babycart | @{[ ]} | 👒🛷 | list interpolation, invented by Larry 🧱 (TimToady) circa 1994 |
*Note: I have chosen not to use the taboo name for this secret operator used at perlsecret
I found this exercise to be surprisingly challenging. Unable to find an emoji for BooK's quirky Babycart (or a pram), I opted instead to look for emojis that do justice to the LanX's imaginative suggestion of Mexican Sledge -- because he visualizes @{[ ]} as a guy with sombrero dragging a sled(ge) uphill.
Please feel free to suggest alternative Unicode emojis for the secret operators above and to concoct emojis for other secret operators.
See Also
Updated: removed duplicate Mexican Sledge reference; added attribution to Heidi Wall; added Wall emoji for Larry and magic wand emoji for merlyn.
👁️🍾👍🦟
In reply to Perl Secret Operator Emojis by eyepopslikeamosquito
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |