RE: [Speedycgi-users] Problem installing CGI-SpeedyCGI-2.22 src
Brought to you by:
samh
|
From: Kapoor, N. <nis...@xc...> - 2004-05-28 16:21:05
|
I got past the initial installation and am tryin to port my scripts to = speedy. I use CGI::Simple instead of CGI and I notice speedy has some = issues with it. It works fine with CGI though. Here is the scenario: #!/usr/local/bin/speedy -w # #--- start - does not work with speedy -------- #use CGI::Simple; #create a new CGI object #my $q =3D new CGI::Simple; #--- end - does not work with speedy -------- #--- start - works with speedy -------- use CGI; #create a new CGI object my $q =3D new CGI; #--- end - works with speedy -------- ## Your Script Here. For example: print "Content-type: text/html\n\nHello World!\n"; When using CGI::Simple, I get following error: [nkapoor@genx nkCMS.speedy]$ perl sp.pl Undefined subroutine CGI::Simple::cgi_error at CGI/Simple.pm line 235 And, I have made sure that CGI::Simple is available to the script. [nkapoor@genx nkCMS.speedy]$ ls CGI/ Simple/ Simple.pm* SpeedyCGI.pm* stubber.pl* Any thoughts? -Nishi |