I found this module that is suposed to make "hashes" with duplicated keys... I think its CDB_File and related, but this is the "easy way", which nothing else work I can always use. I think I'll try the hard way, so i can learn something more for future problems with data manipulation, that for sure i'll have since Im a theoretian and work with simulations. Now I now in which direction to go(perhaps into more problems...Ha!!). Thanks again