in reply to Re: How does DBI return an arrayref with key/value pairs?
in thread How does DBI return an arrayref with key/value pairs?

Well, my tired eyes must need some sleep, because I seem to have glazed right over that when reading that. I was getting bothered at the fact that at one point it says, " It returns a reference to an array containing a reference to an array (or hash, see below)" and was thinking, "See below where?!" Turns out I either need glasses or some sleep. Thanks for clearing that up for me.

I did do a print Dumper on it, and what I was seeing was a hash, but somewhere I read in the documentation (trying to find it now) that it returns "a reference to an array of array refs," and my brain was thinking, "Wow, so somehow a reference to an array of array refs becomes a hash?" Silly brain.

  • Comment on Re^2: How does DBI return an arrayref with key/value pairs?

Replies are listed 'Best First'.
Re^3: How does DBI return an arrayref with key/value pairs?
by locked_user sundialsvc4 (Abbot) on Jun 21, 2013 at 20:39 UTC

    That is a very useful observation, hdb.   Meanwhile, walkingthecow, I hope that you did not take my rather-flippant comment wrongly.   Nothing was intended, but upon re-read I see that it could have slapped.   Hope not.   (But if not ... “it was moooo...”)