>>>>> "Derrick" == Derrick Wippler <[EMAIL PROTECTED]> writes:

Derrick> The thing that puzzles me is, that CGI is supposed to return a reference.

s/CGI/DBI/, right?

Derrick> So......

Derrick> $rec = $st->fetchrow_arrayref ;

Derrick> Should return a Reference to an array.

But it's always the *same* array, for efficiency.  So you'll need to
copy it.  It says that in the doco's somewhere, although I couldn't
find that in the two minutes I had to type this reply. :)

If you're just going to accumulate the whole thing, why not
call one of the "return the whole shebang" calls anyway,
like ->fetchall_arrayref?

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to