Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re: (tye)Re: Spreadsheet::WriteExcel to Browser Problem

by nop (Hermit)
on May 02, 2001 at 05:39 UTC ( #77200=note: print w/replies, xml ) Need Help??

in reply to (tye)Re: Spreadsheet::WriteExcel to Browser Problem
in thread Spreadsheet::WriteExcel to Browser Problem

Hmmm.... I think it is being recognized as perl, as the header is being sent, because the source shows up in an excel file in the browser window. Also, if I change the header to text, I get a browser window of binary gibberish. Hmm... perhaps my install of the module is bad...
  • Comment on Re: (tye)Re: Spreadsheet::WriteExcel to Browser Problem

Replies are listed 'Best First'.
(tye)Re2: Spreadsheet::WriteExcel to Browser Problem
by tye (Sage) on May 02, 2001 at 06:25 UTC

    My guess is that the header isn't being sent but that you have named your CGI *.xls and IE is ignoring the header and interpretting the downloaded text as a spreadsheet and silently deciding to convert it to such.

    Update: Try it with a different browser. Or better, use LWP::Simple to see what is really being sent:

    perl -MLWP::Simple -e "print get('')" + | more perl -MLWP::Simple -e "print join '|',head('http://www.alienfishexchan')"

            - tye (but my friends call me "Tye")

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://77200]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2018-07-19 23:46 GMT
Find Nodes?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?

    Results (421 votes). Check out past polls.