Sorry chaps, I don't follow what you are doing there at all.
I'm quite a novice.
If I have:
$$hashRecordPtr{'connection1_size1'} if I set $count to 3
how can I replace the size1 for size$count and get $$hashRecordPtr{'connection1_size3'} ?
Do you see what I'm getting at? I know you do as you are way above me in the perl stakes, I just don't understand your answer, sorry.