Perl Monk, Perl Meditation | |
PerlMonks |
perl DBI question about fetchrow_arrayref()by lightoverhead (Pilgrim) |
on Apr 25, 2010 at 07:31 UTC ( [id://836743]=perlquestion: print w/replies, xml ) | Need Help?? |
lightoverhead has asked for the wisdom of the Perl Monks concerning the following question: if I use
it works fine (printing all the rows I wanted). but if I use
it can only print the last record several times. Could someone explain this to me? I know fetchrow_arrayref() has weird behavor, but can not understand why the above two code snippets generate different results. Thanks.
Back to
Seekers of Perl Wisdom
|
|