in reply to Script to append values into excel sheet, zip and send mail
system("$worksheet->write_col('C1', \@CommitDetails)");
What do you expect this statement to do? I'll wager it isn't doing what you suppose.