Thanks to BioLion for the input. But I have looked at those (and many other) posts. There are many such examples out on the net but they are all different in the details. Leaving a poor rookie somewhat bemused.
In fact, that is why I wanted to try IO::File it looked a bit more like a certain J-language that I know a little better.
Regards,
Mal