Thank you all again for your help thus far. I'm certainly beginning to understand a little more about perls more complicated data structures.
The program in question is fed a text file on the command line. This text file has all the co-ordinates as follows:
etc ...
So, what I need to do is to first collect together the number of times say that there is a bean at co-ordinates x=10.7 and y=87.5 and then print them off like I mentioned before at the end
Again, any advice much appreciated. :)