Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Coding problem

by Tomte (Priest)
on Aug 07, 2002 at 18:05 UTC ( #188413=note: print w/ replies, xml ) Need Help??


in reply to Coding problem

I second mkmcconns assumption that readMembers may not return an array, as a testrun with faked data did what it should do.

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).


regards,
tomte


Comment on Re: Coding problem
Select or Download Code
Re: Re: Coding problem
by kidd (Curate) on Aug 07, 2002 at 21:21 UTC
    maybe you'll want to say something like
    (push(@found, $active) and last)if grep { /$searchWord/ } $newd;

    Wow...thanks that saved me a lot of time...

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://188413]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (12)
As of 2014-07-31 16:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (249 votes), past polls