Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: DBI help, aka confused newbie

by cchampion (Curate)
on May 09, 2004 at 18:18 UTC ( #351887=note: print w/ replies, xml ) Need Help??


in reply to DBI help, aka confused newbie

Look at DBI Recipes, and you'll find several ways of dealing with hashes.

Among them there is something like:

my $sth=$dbh->prepare($query); $sth->execute or die $DBI::errstr; my $array_of_hashes = $sth->fetchall_arrayref({}); for my $href (@$array_of_hashes) { # do something smart with $href }

HTH


Comment on Re: DBI help, aka confused newbie
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2015-08-31 11:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (354 votes), past polls