I have a large perl cgi program that works (1) On my desktop computer with Apache HTTPD v2.0.49/XP 2003 server/perl 5.8.4.810 and 5.6 (2) On my notebook computer with IIS6/XP PRO/perl 5.8.4.810 (3) On a remote hosting service's server (nodename=osprey) on win2000/IIS 5/ perl 5.6 (4) On a second host service's servier (nodename=Newton) xp2003/IIS 6/perl 5.8.4.810 but only in the Open source perl IDE (see http://open-perl-ide.sourceforge.net/)
This script does not work on Newton when run from the web server (IIS 6). The browser says CGI Error. This script does not work from the command prompt in Newton. I get the following: C:\Inetpub\Websites\evidence\stage\cgi-shl>perl convex.pl userName=marty&sessionId=747&Suspect=1&PrevSuspect1=1 Constant subroutine case_constants::ctInvestigation redefined at C:/Perl/lib/constant.pm line 108. Constant subroutine case_constants::ctOther_Civil redefined at C:/Perl/lib/constant.pm line 108. Constant subroutine case_constants::ctOther_Criminal redefined at C:/Perl/lib/constant.pm line 108. Can't call method "bPrivateData" on unblessed reference at convex.pl line 4144. 'sessionId' is not recognized as an internal or external command, operable program or batch file. 'Suspect' is not recognized as an internal or external command, operable program or batch file. 'PrevSuspect1' is not recognized as an internal or external command, operable program or batch file. C:\Inetpub\Websites\evidence\stage\cgi-shl> Now I get the warnings about the constants being redefined on the other computers too. I don't know why I'm getting these warnings. Could they be the problem? They don't seem to be causing a problem on the other machines. I would fix them if I knew how. What is different is the 'Can't call method "bPrivateData" on unblessed reference line 4144'. I don't get this when I single step with the debugger! I don't get it on the other machines (with or without the debugger)! Can someone help me isolate this? I don't know why it is not blessed. It should be. I blessed it! I guess the question is, how did it get to this point without being blessed? When I single step with the debugger, everything is fine! Thanks, Siegfried -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>