Yes ikegami. That's why I asked the question.
"using the same array", what is this same array?
By my original understanding, $ref returned by fetchrow_arrayref() is the reference points to the row returned by fetchrow_arrayref(), so when I used "push", it should be no problem.
After I got the answer from sabari, I realized, that the reference pushed into an array is the reference pointed to the current row that fetchrow_arrayref working on.So all the references is a pushed array pointed to the last record. Did I understand this right?
I don't undertand why perl DBI has created such a seemly unuseful function.
Thank you.In reply to Re^2: perl DBI question about fetchrow_arrayref()
by lightoverhead
in thread perl DBI question about fetchrow_arrayref()
by lightoverhead
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |