in reply to efficient method of matching a string against a list of substrings?

my @results = grep { $str =~ /$_/ } @sub;

;)

language is a virus from outer space.
  • Comment on Re: efficient method of matching a string against a list of substrings?
  • Download Code