Hi,

DBI 1.15 doc has the entry for fetchall_hashref (like below), but
there is no fetchall_hashref method defined in DBI::st package.
Seems like documentation bug.


       ""fetchall_hashref""
             $tbl_ary_ref = $sth->fetchall_hashref;

           The "fetchall_hashref" method can be used to fetch all
           the data to be returned from a prepared and executed
           statement handle. It returns a reference to an array
           that contains one hash of field name and value pairs
           per row.

           If there are no rows to return, "fetchall_hashref"
           returns a reference to an empty array. If an error
           occurs, "fetchall_hashref" returns the data fetched
           thus far, which may be none.  You should check
           "$sth-">"err" afterwards (or use the "RaiseError"
           attribute) to discover if the data is complete or was
           truncated due to an error.



--
Tatsuhiko Miyagawa           Livin' On The EDGE, Co.,Ltd.
mailto:[EMAIL PROTECTED]         http://www.edge.co.jp/

Reply via email to