I would re-read the documentation on XML::Simple e.g. documentation on the ForceArray parameter.
In the past, I've found using Data::Dumper useful in seeing the data structure. That way, you'll know what the type of $confOut->{conf} is. Clearly, it isn't a hashref. Again, this can all be found in XML::Simple's documentation.