There is no such thing as a hashmap in perl, maybe you are confusing the teminology with java or something else. You can create a hash with perl and use the hash for whataver you need. But your question is too vague to answer and I see you have cross-posted this question with much more detail on another forum so continuing the discussion here is not going to be productive. Here is a link for beginning perl coders:
Heck, if you are going to cross post, the least you could do is post the same information instead of expecting the experts here to read your mind about what you want to do. Its only fair you know. But, I fully agree with Kevin that you shouldn't be cross posting. Many of us tend to read multiple forums and are pretty good at noticing a cross post.
Comment