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.