Re: CGI.pm problem

2001-10-30 Thread Cees Hek
On Wed, 31 Oct 2001 02:31, you wrote: > Hello, > > When I try to make a CGI object in my Apache/mod_perl handler a la $q = > CGI->new(); The server just don't reply. Actually it works just fine > until I try to submit a form, then it just hangs and Apache doesn't send > anything back. If I remove

Re: CGI.pm problem

2001-10-30 Thread Ken Y. Clark
On Tue, 30 Oct 2001, Viljo Marrandi wrote: > Date: Tue, 30 Oct 2001 17:31:15 +0200 > From: Viljo Marrandi <[EMAIL PROTECTED]> > To: modperl list <[EMAIL PROTECTED]> > Subject: CGI.pm problem > > Hello, > > When I try to make a CGI object in my Apache/mod_perl

CGI.pm problem

2001-10-30 Thread Viljo Marrandi
Hello, When I try to make a CGI object in my Apache/mod_perl handler a la $q = CGI->new(); The server just don't reply. Actually it works just fine until I try to submit a form, then it just hangs and Apache doesn't send anything back. If I remove this object creation line, then I can submit my f

Re: Migrating from CGI.pm to (...?), was Re: CGI.pm problem

2000-08-30 Thread Jeff Beard
Ah, so there is. I grep'd an older version which didn't since I'd never heard of it before. You use Apache::Request to get query parameters the same way you do with CGI.pm's param() method. perldoc Apache::Request. Did you could try just importing the CGI.pm HTML functions? Personally, I pref

Re: Migrating from CGI.pm to (...?), was Re: CGI.pm problem

2000-08-30 Thread Stas Bekman
On 30 Aug 2000, Alexei V. Barantsev wrote: > Jeff Beard <[EMAIL PROTECTED]> writes: > > > There isn't a Vars() function in CGI.pm. If you're looking for the query > > string try param(). Or if you want to make it a mod_perl program (which is > > what you would normally discuss on this list) Ap

Migrating from CGI.pm to (...?), was Re: CGI.pm problem

2000-08-29 Thread Alexei V. Barantsev
Jeff Beard <[EMAIL PROTECTED]> writes: > There isn't a Vars() function in CGI.pm. If you're looking for the query > string try param(). Or if you want to make it a mod_perl program (which is > what you would normally discuss on this list) Apache::Request::param(). > > --Jeff There is such a f

Re: CGI.pm problem

2000-08-29 Thread Alexei V. Barantsev
Rick Myers <[EMAIL PROTECTED]> writes: > On Aug 29, 2000 at 16:11:39 +0400, Alexei V. Barantsev twiddled the keys to say: > > Dear mod_perl'ers! > > > > I have found strange difference between object and func modes of CGI > > library. More precisely - I have a problem with Vars function.

Re: CGI.pm problem

2000-08-29 Thread Rick Myers
On Aug 29, 2000 at 16:11:39 +0400, Alexei V. Barantsev twiddled the keys to say: > Dear mod_perl'ers! > > I have found strange difference between object and func modes of CGI > library. More precisely - I have a problem with Vars function. > > #use CGI qw(:standard :cgi-lib); CGI::_re

Re: CGI.pm problem

2000-08-29 Thread Jeff Beard
There isn't a Vars() function in CGI.pm. If you're looking for the query string try param(). Or if you want to make it a mod_perl program (which is what you would normally discuss on this list) Apache::Request::param(). --Jeff At 04:11 PM 8/29/00 +0400, Alexei V. Barantsev wrote: > De

CGI.pm problem

2000-08-29 Thread Alexei V. Barantsev
Dear mod_perl'ers! I have found strange difference between object and func modes of CGI library. More precisely - I have a problem with Vars function. Let me show an example: #!/usr/bin/perl -w use Data::Dumper; use CGI; my $q = new CGI; my $args = $q->Vars; #use CGI qw(:standard :cgi