From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dorian Winterfeld Sent: 08 May 2006 18:49 To: [email protected] Subject: CGI header problem in 5.8
> I just upgraded my Win2000 server from ActivePerl5.6 to 5.8 and now my CGI scripts are failing. I have many > scripts where I "use CGI qw/:standard/;" and then: > > print header; > print start_html; > > As per the CGI.pm man page. But now it prints two http headers and displays the html source to the browser. > If I delete the first print header statement then it displays correctly. This would not be such a big deal but > there are many scripts where I do this and it appears to still be correct from looking at the CGI.pm docs. > More seriously I am also using CGI::Ajax (which worked under 5.6) and it is also outputting double headers and > I see no way to control this. I lasso don't know what other scripts may be affected by this. > > Any help on this would be most appreciated. I am hesitant to upgrade my production server to 5.8 and now the > scripts on my development and production servers are out of sync. I can't reproduce what you seem to be describing, even by duplicating "print header" statements. Perhaps you could produce a small, self contained script that demonstrates what you mean. Also, you might want to consider that the problem may not be related to Perl. I would be surprised if such a problem had not been noticed before now. Your web server configuration perhaps? -- Brian Raven ================================= Atos Euronext Market Solutions Disclaimer ================================= The information contained in this e-mail is confidential and solely for the intended addressee(s). Unauthorised reproduction, disclosure, modification, and/or distribution of this email may be unlawful. If you have received this email in error, please notify the sender immediately and delete it from your system. The views expressed in this message do not necessarily reflect those of Atos Euronext Market Solutions. L'information contenue dans cet e-mail est confidentielle et uniquement destinee a la (aux) personnes a laquelle (auxquelle(s)) elle est adressee. Toute copie, publication ou diffusion de cet email est interdite. Si cet e-mail vous parvient par erreur, nous vous prions de bien vouloir prevenir l'expediteur immediatement et d'effacer le e-mail et annexes jointes de votre systeme. Le contenu de ce message electronique ne represente pas necessairement la position ou le point de vue d'Atos Euronext Market Solutions. _______________________________________________ ActivePerl mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
