in reply to XML::Writer error message

This is basic structure of your code
open outfile while( readline file){ close outfile }
After you close outfile, it is not open, you cannot write to it.

Replies are listed 'Best First'.
Re^2: XML::Writer error message
by pKai (Priest) on Jul 07, 2009 at 09:51 UTC

    No, it's not. Or at least it wasn't 1 hour after the question was originally posted, when I logged into PM and saw the question. Updating nodes without notice is bad.

    It's a logical thing with the generated XML. There is no single root tag in there as well-formed XML requires. So when the 2nd ("root") startTag is requested the error is thrown, because there can only be one.

      Yes it was. ree has again updated his node without notice.

        Sorry for the mistake, Yes I updated the node but not given the update notice, Hence forth I will give update notice when I update my node.