open OUT, '>', 'c:\temp\xls\Out.xls' or die "Can't create the file: $!\n"; binmode OUT; print OUT $ss->data; close OUT;