in reply to Re^2: shorter 1 liner way of doing this
in thread shorter 1 liner way of doing this

Why are you against using a module? It's just as "perlish" as the grep version and it's shorter and more self documenting.

  • Comment on Re^3: shorter 1 liner way of doing this