Thanks for your reply. I looked again at the output and noticed a warning about XML::Simple. which I'd missed. I'd been adjusting my perl installation to get some other XML related things to work. Everything's fine now. JC