in reply to Re: Array to nested hash
in thread Array to nested hash

The question is - why?
I needed this once, too. Dynamically building data structures, usually if the data (here the array) comes from outside the program.

I also once maintained a script which used the eval approach. The script was twice as fast after I replaced it with my code.