Permalink
Browse files

Use safer *STDOUT due to OLE::Storage_Lite limitation. Fixes RT#64746.

  • Loading branch information...
1 parent 1bcc639 commit 62f5156bebd9a4737955ce578781a5c59423abaa @jmcnamara committed Nov 21, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 examples/cgi.pl
View
@@ -31,7 +31,7 @@
# Create a new workbook and add a worksheet. The special Perl filehandle - will
# redirect the output to STDOUT
#
-my $workbook = Spreadsheet::WriteExcel->new("-");
+my $workbook = Spreadsheet::WriteExcel->new(\*STDOUT);
my $worksheet = $workbook->add_worksheet();

0 comments on commit 62f5156

Please sign in to comment.