my @results = grep { $str =~ /$_/ } @sub;
In reply to Re: efficient method of matching a string against a list of substrings?
by thcsoft
in thread efficient method of matching a string against a list of substrings?
by diggler
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |