if ($WE_NEED_TO_DO_ENCRYPTION) { if ($ext =~ /XLS/i) { # open a new excel file insert the word 'encryted' on the 1st row, 1st column. my $workbook = Spreadsheet::WriteExcel->new($report_type . '_' . $time . $ext); my $worksheet = $workbook->add_worksheet(); $worksheet->write(0, 0, 'encrypted'); # now copy report file into the new xsl file. # THIS IS WHERE I AM STUCK I NEED TO PUT THE REST OF ANOTHER FILE HERE IN THE SAME FORMAT