in reply to Problem in converting Excel to xml
#!/usr/bin/perl use strict; use warnings; use XML::Excel; my $excel_obj = XML::Excel->new(); my $xls = '/root/colors.xls'; my $status = $excel_obj->parse_doc("$xls", {headings => 1}); $excel_obj->print_xml("/root/Desktop/out.xml"); if($@) { die "Unable to print xml\n"; }
|
|---|