http://qs321.pair.com?node_id=964227


in reply to Re: Common Perl Pitfalls
in thread Common Perl Pitfalls

That's a really great one, too.
I've only recently started coming to grips with grep and map. I've always felt that this problem can be tackled by a one-liner but I just couldn't put my hands on it. Thanks for finally providing it :)