in reply to Re: Question with Dynamically Creating arrays.
in thread Question with Dynamically Creating arrays.

Hello Everyone

Thanks for all the replies. It was really useful and now I got it to work, although im yet to modify other portions of my code, which i am doing right now.
@aquarium - what u mentioned is pretty much what i had done.
%struct;
i use the $key and create a hash value which i then make it point to an array. By doing this i have my structure unique to the key. something like :
push(@{$struct{$key}},"value") or // i passed the reference n added the values to the array add(\@{$struct{$key}});
So now $struct points to an array, and also has the key as i wanted.
Thanks for the help everyone!