Hi All, I am new to Perl and was hoping to get advice on creating the following data structure:
I have an Affiliate Parent Groups, Affiliate Groups, and Affiliates. Each affiliate has affiliateId, affiliateName. I guess what I'd like to have is an array of hashes where the array would contain Affiliate Parent Groups. Each item in the array would contain a hash map with Affiliate Group name as the key and An array of Affiliates (each having AffiliateId and AffiliateName) as the value. How would I go about creating such structure and adding values to it in a loop? Any help will be greatly appreciated! James ____________________________________________________________________________________ Get the Yahoo! toolbar and be alerted to new email wherever you're surfing. http://new.toolbar.yahoo.com/toolbar/features/mail/index.php -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/