Chris McMahon wrote:

>In some ways, Ruby's DBI is easier to use (for me) than Perl's. 
>Mostly because returns from SQL statements seem to always be either
>arrays or AoAs, which I find really intuitive to use, where in Perl's
>DBI, returns are generally hashes, and you have to be pretty familiar
>with the DBI docs to figure out how to address the data.
>
I've always retrieved the data using regular hash notation.

Also, how the data is returned is determined by which retrieval method 
you use: you can choose to get data back as an array or as a hash, IIRC.

Dave


_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to