Problems? Is your data what you think it is? | |
PerlMonks |
Help with fetchall_arrayrefby fmogavero (Monk) |
on May 15, 2001 at 20:17 UTC ( [id://80598]=perlquestion: print w/replies, xml ) | Need Help?? |
fmogavero has asked for the wisdom of the Perl Monks concerning the following question:
Here is my current code
The if (! ref($row)){next;} does not work. It prints out two references:DBI::db=hash(0xwhatever) and DBI::st=hash(0xwhatever)and then the information that I want. That is the secondary question and is probably cranial-rectal insertion on my part. My primary question is: Can I use fetchall_arrayref to return all of the rows that match my query, and then parse out the information? And if so, how? I have a query like I would like to have all the info in computer memory to avoid tying up the database with a fetchrow_arrayref because from what I read the DBI information says that fetchall_arrayref returns an array of array references, one reference per row. Am I even on the right track here? Edit: chipmunk 2001-05-15
Back to
Seekers of Perl Wisdom
|
|