We recently started a move of our web sites to Server 2003 from 2000 while upgrading Perl from 5.6 to 5.8. Most of our web sites use a simple perl script that redirects a web client to a login page. Under 5.6.1 we used:
Using Perl 5.8 this fails, produces no output and never does the redirect.
we had to change the code to:
This works fine. We've been trying to find out what changed in Perlis.dll between 5.6.1 and 5.8.9 and I can't find a thing. Any help is appreciated.
Code:
use strict; print "Location: ./cgi-bin/PromptEID.pl\n\n"; exit(0);
we had to change the code to:
Code:
use strict;
use CGI;
my $q = CGI->new;
print $q->redirect ("./cgi-bin/promptEID.pl");
exit(0);
Comment