in reply to Re: perl xml parsing
in thread perl xml parsing
I tried this out but i got an error again (could not find ParserDetails.ini in C:/Perl/site/lib/XML/SAX GLOB(0xf9def4))
#!/usr/bin/perl use XML::Simple; use Data::Dumper; $xml = new XML::Simple; $data = $xml->XMLin("news2Obama.xml"); open $fh_o, '>', 'new_output.txt' or die "can't open file: $!"; $_ = Dumper ($data); print $fh_o; close $fh_o or die "can't close file:$!";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: perl xml parsing
by marto (Cardinal) on May 25, 2012 at 14:49 UTC | |
by poper12 (Initiate) on May 25, 2012 at 14:56 UTC | |
by marto (Cardinal) on May 25, 2012 at 15:05 UTC | |
by poper12 (Initiate) on May 25, 2012 at 15:12 UTC | |
by marto (Cardinal) on May 25, 2012 at 15:15 UTC | |
|