|
|
| The stupid question is the question not asked | |
| PerlMonks |
Re: Fetchrow_hash/array question with DBI/Perlby dbwiz (Curate) |
| on Mar 20, 2004 at 16:15 UTC ( [id://338366]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
It isn't clear what you want to achieve. If you want a list of arrays, then use . If you want a list of hashes, then use (notice the empty hash ref passed as an argument). In both cases, you get an array ref containing either hashes or arrays,a nd you can loop through the results. Have a look at DBI Recipes for some more examples and explanations. As a side note, you are using $results->{'company'}, but there is no 'company' column in your query.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||