A few days ago I have developed a script which used the selectall_hashref() method 
according to the documentation of version 1.16 of DBI (namely,
this function "returned a reference to an array containing, for each row of data 
fetched,
a reference to a hash containing field name and value pairs for that row"). 
I am rather fond of this behavior: while the hash represents the row with fields 
accessed
by name, the array accesses the select result in a ordered fashion as when 
'fetch' is used. 

Today I upgraded for DBI 1.20.1 and found that the selectall_hashref() method
now returns a hash of hash and, thus, needs an extra argument specifying which
field is used to index the outer hash. 

The previous behavior has gone forever? Is it not available anymore via another
method with a new name?

Regards,

Adriano.



Reply via email to