Hi,
Just realised that our affiliate program was dying on the actinic referrer script so I took a quick look at the code. I found that I had to move the "push (@INC, "cgi-bin");" line above the require lines for it to work. The originial looked like this...
... and the modified code looks like this ...
Both snippets are taken from the top of rs000001.pl. Is this a change that usually needs to be made, or is it a problem with our perl setup?
We're running ActivePerl on a Windows 2003 Standard server if that makes any difference.
Thanks,
Kev
Just realised that our affiliate program was dying on the actinic referrer script so I took a quick look at the code. I found that I had to move the "push (@INC, "cgi-bin");" line above the require lines for it to work. The originial looked like this...
Code:
#!\c:\perl\bin\perl.exe require al000001; require ao000001; require sm000001; push (@INC, "cgi-bin"); my $bFound = 0; {rest of code stays the same}
Code:
#!\c:\perl\bin\perl.exe push (@INC, "cgi-bin"); require al000001; require ao000001; require sm000001; my $bFound = 0; {rest of code stays the same}
We're running ActivePerl on a Windows 2003 Standard server if that makes any difference.
Thanks,
Kev
Comment