Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re: Matching values between two arrays of hashes.

by CountZero (Bishop)
on Oct 31, 2012 at 20:48 UTC ( #1001743=note: print w/ replies, xml ) Need Help??

in reply to Matching values between two arrays of hashes.

Dump that data into a database and use 'SELECT * FROM subnets, filersinfo WHERE subnets.location_id = filersinfo.location_id' to get all the records where location_id matches in both tables.

I tried it with an SQLite database and it got the info in less than a second.


A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

My blog: Imperial Deltronics

Comment on Re: Matching values between two arrays of hashes.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2015-11-29 15:16 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (751 votes), past polls