Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

RE: RE: RE: RE: References of Eternal Peril (while we're on the subject)

by rdw (Curate)
on Aug 11, 2000 at 21:59 UTC ( [id://27560]=note: print w/replies, xml ) Need Help??


in reply to RE: RE: RE: References of Eternal Peril (while we're on the subject)
in thread References of Eternal Peril

... can be written ...
$s->ar = $sth->fetchall_arrayref({}); $s->rows = @{$s->ar};
Excellent. I've been looking for fetchall_hashref for ages! This is exactly what I need - I also use a template system (not HTML::Template) and it can do the same trick with arrayrefs of hashrefs (or arrayrefs).
I guess I should look into converting my stuff to use bind_columns. Is there any (efficient) way you could tie an array to the results do you think?

Thanks Matt.

- Rich

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://27560]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2024-03-19 05:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found