in reply to Hash of array.

Hello Nansh

First of all please reformat your post seconding Writeup Formatting Tips

Then go to read perldsc to see many recipes about complex datastructures

The HashesOfArrays section has well written example about the generation and access of such datastructures.

L*

There are no rules, there are no thumbs..
Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.