http://www.perlmonks.org?node_id=992622


in reply to Handling mutiple rows

Welcome to the monastery, Ammu.

Please see my response to your question looping in a hashtable.
Thinking about that will help you resolve this issue as well.

             I hope life isn't a big joke, because I don't get it.
                   -SNL