savio has asked for the wisdom of the Perl Monks concerning the following question:
How can I convert a list to a hash data structure?
The output I expect it is an hash having the array's index as key and the array's value as value.
Thanks in advance for help
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: converting an array to an hash
by choroba (Cardinal) on Dec 22, 2014 at 17:19 UTC | |
|
Re: converting an array to an hash
by toolic (Bishop) on Dec 22, 2014 at 17:11 UTC | |
|
Re: converting an array to an hash
by BrowserUk (Patriarch) on Dec 22, 2014 at 17:15 UTC | |
by savio (Initiate) on Dec 22, 2014 at 17:27 UTC | |
by BrowserUk (Patriarch) on Dec 22, 2014 at 17:46 UTC | |
by savio (Initiate) on Dec 22, 2014 at 17:54 UTC | |
by BrowserUk (Patriarch) on Dec 22, 2014 at 18:49 UTC | |
by karlgoethebier (Abbot) on Dec 22, 2014 at 20:26 UTC | |
|
Re: converting an array to an hash
by LanX (Saint) on Dec 22, 2014 at 22:35 UTC |