in reply to Coding problem
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).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Coding problem
by kidd (Curate) on Aug 07, 2002 at 21:21 UTC |