in reply to From: array To: complex hash

See Hash to Hash to Hash ...., and stay away from any solution that mentions eval.

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.