in reply to HwithinHoA? Complex Data Structure...I am so lost...

Adding to the points made by wfsp, your sub tester as posted doesn't look as if it will compile as you have a mismatch with your braces (too many of the right-hand type). I don't know what tools you use to develop your code but an editor that shows matching parentheses and braces can be very useful when trying to weed out this sort of error. I use nedit

Staying with tester, what are you actually trying to iterate over with foreach $new_marker(%HoHMarker) { ...? You can't really iterate over a hash like that; do you mean to iterate over an array contained in that hash?

Without wanting to re-ignite a religeous war, your use of <TABS> to indent your code makes life difficult unless you are working in Super Panorama. Also, indenting only really works if it is applied consistently.

For your user-determined variable names, use a hash.

@{ $userHash{ $newName } } = @array;

I hope this is useful.

Cheers,

JohnGG