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

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

From: Igor Chudov
Subject: It did not QUITE work! Re: "strange error" is related to CGI.pm
Date: 15:15 on 13 May 2005
I was too quick to say that it worked. It does not
quite work with another PerlHandler of mine. 

I make a form, if I submit it with a GET method, it
works. If I submit it with a POST handler, CGI fails
to get parameters. I am most puzzled.

i

--- Randy Kobes <randy@xxxxxxxx.xxxxxxxxx.xx> wrote:

> On Fri, 13 May 2005, Igor Chudov wrote:
> 
> > --- Randy Kobes <randy@xxxxxxxx.xxxxxxxxx.xx>
> wrote:
> >
> > > On Fri, 13 May 2005, Igor Chudov wrote:
> > >
> > > > --- Tom Schindl <tomAtLinux@xxx.xx> wrote:
> > > >
> > > > > -----BEGIN PGP SIGNED MESSAGE-----
> > > > > Hash: SHA1
> > > > >
> > > > > If you have installed Apach2::Request or you
> don't
> > > > > need CGI.pm any more.
> > > >
> > > > Sorry, I use CGI.pm for everything.
> > > >
> > > > > You are also failing to tell us what mp2 and
> apache2
> > > > > you are running so everything I can do is
> guessing.
> > > >
> > > > Perl 5.8.6
> > > > httpd-2.0.54
> > > > mod_perl-2.0.0-RC6
> > > > libapreq2.so.2.1.0
> > > > CGI.pm v 3.09
> > >
> > > What if you try adding, in CGI.pm, a line
> > >    require Apache2::RequestIO;
> > > in the same block that Apache2::RequestRec, etc.
> are
> > > being require()d.
> >
> > Randy, it worked!!! Yay! I am happy!
> >
> > Can you tell me why it helped? I will appreciate.
> 
> One of the design considerations of mod_perl-2 is to
> cut
> down on memory usage by splitting functionality
> across
> different modules, so that a user only loads the
> ones
> needed. Thus, you need to require Apache2::RequestIO
> in order to get the "read" method. It's sometimes
> not
> apparent which module is needed for which method;
> for
> this, ModPerl::MethodLookup:
> 
>
http://perl.apache.org/docs/2.0/api/ModPerl/MethodLooup.html
> can help.
> 
> -- 
> best regards,
> randy
> 


- Igor


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.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

It did not QUITE work! Re: "strange error" is related to CGI.pm
Igor Chudov 15:15 on 13 May 2005

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