in reply to find a substring of unknow lenght if it is in a hash

For searching, or filtering a list (keys %match is a list), perl's grep function is your friend.

Using grep, will result in shorter code.

        "Despite my privileged upbringing, I'm actually quite well-balanced. I have a chip on both shoulders."         - John Nash

  • Comment on Re: find a substring of unknow lenght if it is in a hash