binmode(STDOUT); my $workbook = Spreadsheet::WriteExcel->new(\*STDOUT);