Re: It did not QUITE work! Re: "strange error" is related to CGI.pm

[prev] [thread] [next] [Date index for 2005/05/13]

From: Stas Bekman
Subject: Re: It did not QUITE work! Re: "strange error" is related to CGI.pm
Date: 19:59 on 13 May 2005
Igor Chudov wrote:
[...]
>>>Of these two modules, CGI::Deurl is responsible.
>>>
>>>It does something strange here:
>>>
>>>sub load { 
>>>    my $data; 
>>>    if (defined $ENV{REQUEST_METHOD} and
>>>$ENV{REQUEST_METHOD} eq "POST") { 
>>>     read STDIN , $data , $ENV{CONTENT_LENGTH} ,0;
>>
>>
>>It assumes that it's the one that grabs the POST
>>data, so obviously CGI.pm 
>>doesn't work.
> 
> 
> Well, it used to work. I would not mind changing it to
> make it work again. 

May be the timing of the loading of that module was different, did you by 
chance switch from 'require' to 'use'?

> I just tried to invoke Deurl with NOTCGI argument, as
> Deurl suggests for those who do not want to read the
> query. When invoked with NOTCGI, Deurl/perl barfs
> saying:
> 
> failed to resolve handler `Algebra::Solver::Handler':
> BEGIN not safe after errors--compilation aborted at
> /data3/webdata/algebra.com/templates/Algebra/Solver/Handler.pm
> line 17.\nCompilation failed in require at (eval 18)
> line 3.\n

I've no idea what CGI::Deurl is. I suppose you need to fix those errors, 
they aren't anywhere related to mod_perl as far as I can see.

        -- 
        __________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@xxxxxx.xxx http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

(message missing)

"strange error" is related to CGI.pm
Igor Chudov 15:11 on 12 May 2005

Re: "strange error" is related to CGI.pm
Tom Schindl 08:12 on 13 May 2005

Re: "strange error" is related to CGI.pm
Igor Chudov 13:11 on 13 May 2005

Re: "strange error" is related to CGI.pm
Tom Schindl 13:39 on 13 May 2005

Re: "strange error" is related to CGI.pm
Willem Jan Withagen 13:46 on 13 May 2005

Re: "strange error" is related to CGI.pm
Igor Chudov 13:59 on 13 May 2005

Re: "strange error" is related to CGI.pm
Randy Kobes 14:04 on 13 May 2005

Re: It did not QUITE work! Re: "strange error" is related to CGI.pm
Stas Bekman 19:59 on 13 May 2005

Generated at 15:53 on 25 May 2005 by mariachi v0.52