in reply to
Re^3: 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?
Hah, its the PP version that is too picky :)
$ perl -MText::CSV_PP -e " Text::CSV_PP->new->print(\*STDOUT, [1..3] )
+ "
1,2,3
$ perl -MText::CSV_XS -e " Text::CSV_XS->new->print(\*STDOUT, [1..3] )
+ "
1,2,3
$ perl -MText::CSV_XS -e " Text::CSV_XS->new->print(\*STDOUT, bless[1.
+.3],666 ) "
1,2,3
$ perl -MText::CSV_PP -e " Text::CSV_PP->new->print(\*STDOUT, bless[1.
+.3],666 ) "
Expected fields to be an array ref at -e line 1.