in reply to Data Structure confusion...
Not specifically responsive to your question, but see Perl Data Structures Cookbook for general info on this topic.
Give a man a fish: <%-{-{-{-<