Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: XML::Simple is doing too much for me! Help please.

by GrandFather (Sage)
on Jul 16, 2005 at 06:45 UTC ( #475415=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://475415]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2020-06-04 20:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you really want to know if there is extraterrestrial life?



    Results (35 votes). Check out past polls.

    Notices?