According to ActiveState's bug database, there's a bug with PerlIS (the DLL that handles Perl scripts rather than perl.exe). As I understand it, PerlIS is designed to insert headers if it doesn't think the script is doing so. But there's a glitch that causes it to stick in headers even when the script has already done so.
This can be fixed by changing the scripts to not insert headers. This is tricky for me, because as I said I'm not a programmer. And it shouldn't be necessary, since this bug was documented way back in early 2006. And remember... The scripts worked perfectly with the older build Perl build (5.8.4.810). This would strongly indicate that the problem isn't with the scripts themselves. Fortunately, we only use 2 Perl scripts here. I was able to muddle through them to find the parts where they produced headers and comment those lines out, so they're working okay now. -----Original Message----- From: Thurn, Martin [mailto:[EMAIL PROTECTED] Sent: Thursday, June 14, 2007 2:30 PM To: John Hornbuckle Cc: Thurn, Martin Subject: RE: HTTP Headers Appearing Since Upgrade Examine the part of your perl code that prints the headers? Maybe you need to upgrade the CGI module or something like that? My point is, perl.exe itself doesn't print anything, perl code prints stuff. So changing the version of perl.exe is NOT going to change what your perl code prints out. There MUST be a way for you to fix it, but for anyone to help you, we need a lot more information about what EXACTLY your program looks like and how it is installed, etc. - - Martin -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Hornbuckle Sent: Thursday, June 14, 2007 14:22 To: [email protected] Subject: RE: HTTP Headers Appearing Since Upgrade Just to follow up on this... Looking through ActiveState's bug list, it appears that this glitch has been around (but unrepaired, for some reason) for well over a year. I guess I was better off running the old version instead of trying to upgrade. I really don't know much about ActiveState, but it amazes me that they would allow a bug like this to go unresolved for so long. -----Original Message----- From: John Hornbuckle Sent: Wednesday, June 13, 2007 10:19 AM To: '[email protected]' Subject: HTTP Headers Appearing Since Upgrade First off, let me say that I'm not a programmer and am no expert in PERL by any stretch. So please forgive my ignorance. I've got 2 PERL scripts that I use on our website (IIS 6). Earlier this week, I uninstalled v5.8.4.810 and installed v5.8.8.820. Ever since, the scripts are both not working right. What's happening is that headers are being displayed in the HTML content that the scripts generate. One script puts this at the top of every page: Content-type: text/html The other puts this: Content-type: text/html; charset= Cache-Control: public Last-Modified: Wed Jun 13 14:14:33 2007 Expires: Wed Jun 13 14:14:33 2007 Again, I'm not a programmer. But I wouldn't think the problem lies with the scripts, since they worked fine with the older version of ActivePerl... John Hornbuckle MIS Department Taylor County School District 318 North Clark Street Perry, FL 32347 www.taylor.k12.fl.us _______________________________________________ ActivePerl mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs _______________________________________________ ActivePerl mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
