----- Original Message ----- From: "klute" <[EMAIL PROTECTED]>
Newsgroups: perl.beginners
To: <beginners@perl.org>
Sent: Monday, July 09, 2007 4:20 PM
Subject: Help needed created this data structure


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

Its hard to see what structure you want without some sample data.
Send some data as it is in the file.

Have you tried any coding yet?

Chris


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to