|go ahead... be a heretic|
DBI and binding a list of hashesby wfsp (Abbot)
|on Dec 12, 2005 at 12:46 UTC ( #516000=perlquestion: print w/replies, xml )||Need Help??|
wfsp has asked for the wisdom of the Perl Monks concerning the following question:
In gmax's excellent DBI recipes under the heading 'Getting a list of hashes' he give this example:
Later, under 'Binding columns and fetching', he explains that:
The fastest method, which you can always count on, is fetchrow_arrayref. It is even faster when you combine it with binding.
Is it useful/possible to bind a list of hashes (as shown above)?.
The following (similar to one of gmax's examples):
for instance, gives:
update: gmax's example is for fetchcol_arrayref
Back to Seekers of Perl Wisdom