in reply to
XML::Generator bad header?
Have you tried calling your script as .pl vs .xml ? It is possible that your webserver is attempting to send a header for you based on the mime type of the document (.xml extension )
Comment on
Re: XML::Generator bad header?
In Section
Seekers of Perl Wisdom