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' );
In reply to Re^2: How to use perl to parsing a XML file to csv file which have the same sequence in xml file?
by Anonymous Monk
in thread How to use perl to parsing a XML file to csv file which have the same sequence in xml file?
by carol.j
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |