in reply to XML::Simple is doing too much for me! Help please.

Hold on here. Isn't there something a little dodgy with this code:

my $xml = XMLin( "ttscall1.xml" ); print Dumper $xml; my $xml = XMLout( $xml, Rootname => 'campaign' );

$xml declared twice? use strict; helps with this sort of thing.


Perl is Huffman encoded by design.

Replies are listed 'Best First'.
Re^2: XML::Simple is doing too much for me! Help please.
by jdtoronto (Prior) on Jul 16, 2005 at 23:36 UTC
    Yes! And although it worked okay in the particular example, I did spot the error and corrected it shortly afterwards.

    jdtoronto