Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re^3: MySQL hashes with same key

by NetWallah (Canon)
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2018-06-22 04:24 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (121 votes). Check out past polls.