in reply to cgi: malformed header from script. Bad header=

I think it should be something like this:
#!/usr/local/bin/perl use strict; use warnings; use CGI qw/:standard/; my $q= new CGI; print $q->header(-type => 'application/vnd.xls', -attachment => '/path/to/overview.xls');

Replies are listed 'Best First'.
Re^2: cgi: malformed header from script. Bad header=
by jeanluca (Deacon) on Jan 14, 2010 at 20:36 UTC
    Ok, but there is no file, I'm streaming the xls