Well, id does help to see some data, since I didn't realize that the values of %kgxrefhash were references to lists. Also, there needs (of course) to be data that common to all three data structures as you mentioned. Give this, try the following (tested):

After executing your code with your sample data it looks as though there aren't any elements in @genesetarray that exist in %kgxrefhash etc, therefore there is nothing to print. I also made this correction: