in reply to Re: How to use perl to parsing a XML file to csv file which have the same sequence in xml file?
in thread How to use perl to parsing a XML file to csv file which have the same sequence in xml file?
I tried to run the example provided here, and I get the following error:
Expected fields to be an array ref at xml.pl line 11
When I look at the contents of $book, I see:
I am running perl 5.10.1 -- any tips?$VAR1 = bless( [ 'Book 1 author 1', 'Book 1 author 2', 'Book 1 title', 'Book1ISBN' ], 'XML::LibXML::NodeList' ); $VAR1 = bless( [ 'Book 2 author 1', 'Book 2 author 2', 'Book 2 title', 'Book2ISBN' ], 'XML::LibXML::NodeList' );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How to use perl to parsing a XML file to csv file which have the same sequence in xml file?
by tobyink (Canon) on Dec 30, 2012 at 19:38 UTC | |
by Anonymous Monk on Dec 31, 2012 at 03:48 UTC | |
|
Re^3: How to use perl to parsing a XML file to csv file which have the same sequence in xml file?
by Anonymous Monk on Dec 28, 2012 at 23:21 UTC |