As a second note: You fetch every $active as many times as a $searchWord matches, maybe you'll want to say something like
(push(@found, $active) and last)if grep { /$searchWord/ } $newd;
to fetch a line only once (Just a thought).
In reply to Re: Coding problem
by Tomte
in thread Coding problem
by kidd
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |