What is your latest useful Perl one-liner (or a pipe involving Perl)?

Posted by J.F. Sebastian on Stack Overflow See other posts from Stack Overflow or by J.F. Sebastian
Published on 2008-09-21T19:43:29Z Indexed on 2010/03/22 16:21 UTC
Read the original article Hit count: 376

Filed under:
|
|
|
|

The one-liner should:

  • solve a real-world problem
  • not be extensively cryptic (should be easy to understand and reproduce)
  • be worth the time it takes to write it (should not be too clever)

I'm looking for practical tips and tricks (complementary examples for perldoc perlrun).

© Stack Overflow or respective owner

Related posts about perl

Related posts about shell