Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I have to fetch data from database using the statement "Select s_week,s_month,s_workperiod from <tablename>".I need to write the output into a hashtable with s_week as key to that hastable.Can anyone please help me since i m a beginner in Perl?
.. I know how to fetch from database and then write into hash.But is there any inbuilt function for this purpose??
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: From database to hash table
by choroba (Cardinal) on Sep 06, 2012 at 16:58 UTC | |
by Tux (Canon) on Sep 06, 2012 at 17:26 UTC | |
|
Re: From database to hash table
by runrig (Abbot) on Sep 06, 2012 at 19:21 UTC |