Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re^3: MySQL hashes with same key

by NetWallah (Abbot)
on Nov 16, 2012 at 16:19 UTC ( #1004217=note: print w/replies, xml ) Need Help??

in reply to Re^2: MySQL hashes with same key
in thread MySQL hashes with same key

Thanks - I had missed the subtlities of the second parameter to 'selectall_hashref'.

However - my recommendation to use the database query to select comments for a mac stands, and answers the the questions he persists in posing.

             "By three methods we may learn wisdom: First, by reflection, which is noblest; Second, by imitation, which is easiest; and third by experience, which is the bitterest."           -Confucius

Replies are listed 'Best First'.
Re^4: MySQL hashes with same key
by jcrush (Acolyte) on Nov 20, 2012 at 15:24 UTC
    Hi, I was just trying to reduce repeated access to the database.
    I thought I could save it to a hash locally, and process the requested information from the hash.
    Thank you.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2016-10-21 21:33 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (291 votes). Check out past polls.