in reply to Re^2: perl DBI question about fetchrow_arrayref()
in thread perl DBI question about fetchrow_arrayref()

I don't undertand why perl DBI has created such a seemly unuseful function.
It's only unuseful if you misuse it. I often want to process result sets row by row, and I only care about the current row, not what the last row was. If I want all the results at once, then (as shown) you can use one of the selectall_* methods.
  • Comment on Re^3: perl DBI question about fetchrow_arrayref()