The top 10 tricks of Perl one-liners
May 29, 2010, 23:03 (2 Talkback[s])
(Other stories by Nelson Elhage)
No-Size-Fits-All! An Application-Down Approach for Your Cloud Transformation REGISTER >
"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