Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: From database to hash table

by runrig (Abbot)
on Sep 06, 2012 at 19:21 UTC ( #992171=note: print w/ replies, xml ) Need Help??


in reply to From database to hash table

If you want a reference to a HoH:

my $href = $dbh->selectall_hashref(<<SQL, 's_week'); select s_week,s_month,s_workperiod from <tablename> SQL


Comment on Re: From database to hash table
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2016-02-14 23:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?





    Results (471 votes), past polls