in reply to From database to hash table
my $href = $dbh->selectall_hashref(<<SQL, 's_week');
select s_week,s_month,s_workperiod from <tablename>
Once (shame on you!)
Twice (shame on me!)
More often than I'd like to be
All the time
Just when answering stupid polls
Who you callin' a fool?
I refuse to vote in this ridiculous poll
Results (521 votes). Check out past polls.