in reply to Use of uninitialized value $_ in pattern match (m//)
Perfect. Thanks. I was using Data::Dumper, but just couldn't see the simple mistake I was making.
I'll take another look at the XML processing with XML::Twig - thanks