Hi
How about this:
while (my ($key,$value) = each(%no)) { $contains++ while $value =~ /$search/gi; }
There's probably a better way, but that seems to work.
HTH, FalseVinylShrub
Disclaimer: Please review and test code, and use at your own risk... If I answer a question, I would like to hear if and how you solved your problem.
In reply to Re: Simple (probably)
by FalseVinylShrub
in thread Simple (probably)
by MaroonBalloon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |