Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: recursive array search

by state-o-dis-array (Hermit)
on Oct 01, 2004 at 20:11 UTC ( #395745=note: print w/ replies, xml ) Need Help??


in reply to Re: recursive array search
in thread recursive array search

Perfect! This is exactly the type of solution I was looking for. Thanks. To All - Problem solved, thanks for the input. Sorry about the confusion, but I wasn't looking for help with determining a successful match, rather I was concerned with how to reduce my search time by getting away from

foreach $element(@array){ foreach $compare(@array){ } }
FYI - my processing time was cut from 12 minutes to less than two with this suggestion! Much thanks!


Comment on Re^2: recursive array search
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (12)
As of 2014-12-18 08:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (47 votes), past polls