in reply to Joining data structures.
Not exactly sure what you're trying to do. It seems you have a sorted array of (hit, id), and the id=>data mapping is in a file? and you're trying to print out (hit, id, data). I'm not sure what you meant by "I don't have to use hash Record". If the data file only contains id=>data mapping, is "tie %Records" to the data file acceptable?