> From: Rob Ransbottom [mailto:[EMAIL PROTECTED]]

> Could someone explain:
> 
> Why will fetchrow_hashref change in the future
> to return the same reference each time?
> 
> I would like to understand the rationale.

The idea is that it takes time to create a new hash, and
it is quicker to just reuse the old hash. If you are
just fetching and processing one record at a time, then
you will benefit.

If you want to save the records (e.g. in an array), then
you should probably be using one of the fetchall_* or
selectall_* methods anyway, or you will need to copy
the record before saving it.

HTH,
Douglas Wilson

Reply via email to