On Fri, Oct 25, 2002 at 02:24:03PM -0400, Jeff Thies wrote: > I'm getting this error: > > DBI fetchall_hashref: invalid number of parameters: handle + 0 > Usage: $h->fetchall_hashref() at test_xsl.cgi line 59.
> $tbl_ary_ref = $sth->fetchall_hashref; # error here > What have I missed? The DBI docs don't have much to say about > fetchall_hashref. But they do say it needs a parameter. And they also say it returns a hash ref, not an array ref as your code is expecting. Tim. p.s. But you have shown that the "Usage:" message for that method is wrong. I've fixed it for the next release. Thanks.