in reply to Array and Hash

Your "question" makes no sense to me (see I know what I mean. Why don't you?). Take your time writing up the issue and try for full sentences. Make your example data as real as you can so important information isn't "lost in translation".

You mention "modified hash value", but don't mention what modification is acceptable.

Perl is the programming world's equivalent of English