in reply to XML::Simple and newlines
Thank you very much for your explainations and comments. All is working now.
I don't know practically anything yet of XML, however XML::Simple is so simple :) and efficient that already fits my needs perfectly.
Roberto