in reply to Re: perl DBI question about fetchrow_arrayref()
in thread perl DBI question about fetchrow_arrayref()
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: perl DBI question about fetchrow_arrayref()
by ikegami (Patriarch) on Apr 25, 2010 at 19:35 UTC | |
|
Re^3: perl DBI question about fetchrow_arrayref()
by runrig (Abbot) on Apr 25, 2010 at 23:06 UTC |