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; i --- Igor Chudov <[EMAIL PROTECTED]> wrote: > I made some effort to reproduce it and made an > unbelievable discovery. > > If I include these two statements: > > use CGI::Deurl; > use CGI::Enurl; > > then things do NOT work properly. > > If I comment them out, then everything works fine. > The > use statements are as follows: > > use CGI qw/:standard/; > use CGI::Pretty; > use APR::Table (); > use CGI::Deurl; > use CGI::Enurl; > use Apache2::Const qw( OK ); > > I have a SAMPLE that does not use any of my > algebra.com's code: > > http://dsl.algebra.com/tmp/solver/TestHandler.pm.txt > > I invoke it by saying > > <Files *.testhandler> > SetHandler perl-script > PerlHandler Algebra::Solver::TestHandler > Options +ExecCGI > #optional > PerlSendHeader On > </Files> > > > --- Stas Bekman <[EMAIL PROTECTED]> wrote: > > > Igor Chudov wrote: > > > --- Stas Bekman <[EMAIL PROTECTED]> wrote: > > [...] > > >>>I already applied this patch (at Randy's > > >> > > >>suggestion, I > > >> > > >>>think). It did not help. > > >> > > >>so what's the latest error that you get? The > > easiest > > >>way to help us to > > >>reproduce the problem is to download the > > Apache-Test > > >>Skeleton, that you > > >>can find linked from here: > > >> > > > > > > > > > http://perl.apache.org/docs/2.0/user/help/help.html#Problem_Description > > > > > >>add a *minimal* code that we can reproduce your > > >>problem with and send it > > >>here. Once we have it and we can reproduce it, > it > > >>should be trivial to fix. > > > > > > > > > I do not get any error, however, CGI does not > > return > > > te needed form parameter value. As though the > > value > > > was never passed to the form. If I change the > > method > > > from POST to GET, everything is fine. > > > > OK, so that's a different story. But the 'require > > Apache2::RequestIO;' was > > indeed needed, correct? As I have submitted a > > patch to Lincoln for CGI.pm. > > > > > I will try to reproduce the minimal handler that > > > reproduces the problem. > > > > While you do that, take a look at the mod_perl > tests > > as suggested by > > Randy. You will see how to write this kind of > tests. > > > > -- > > > __________________________________________________________________ > > Stas Bekman JAm_pH ------> Just Another > > mod_perl Hacker > > http://stason.org/ mod_perl Guide ---> > > http://perl.apache.org > > mailto:[EMAIL PROTECTED] http://use.perl.org > > http://apacheweek.com > > http://modperlbook.org http://apache.org > > http://ticketmaster.com > > > > > - Igor > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam > protection around > http://mail.yahoo.com > - Igor __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com