or download this
$csv = Text::CSV_XS-> new (\%csv) or die "Problem creating new CSV obj
+ect".Text::CSV_XS->error_diag ();
my $csv_file = @ARGV && -f $ARGV[0] ? $ARGV[0]: "csv2excel"; # ge
+t csv file name
+
+
...
$wbk->set_properties(%properties);
+
+
print Dumper($wbk->set_properties(%properties));
+
+
+
$wbk->close;