“I’m a recovering perl hacker. Perl used to be far and away my
language of choice, but these days I’m more likely to write new
code in Python, largely because far more of my friends and
coworkers are comfortable with it.“I’ll never give up perl for quick one-liners on the
command-line or in one-off scripts for munging text, though.
Anything that lasts long enough to make it into git somewhere
usually gets rewritten in Python, but nothing beats perl for
interactive messing with text.“Perl, never afraid of obscure shorthands, has accrued an
impressive number of features that help with this use case. I’d
like to share some of my favorites that you might not have heard
of.”
The top 10 tricks of Perl one-liners
By
Get the Free Newsletter!
Subscribe to Developer Insider for top news, trends, & analysis