Re: CGI::Simple 0.077

[prev] [thread] [next] [Date index for 2005/03/16]

From: Perrin Harkins
Subject: Re: CGI::Simple 0.077
Date: 04:21 on 16 Mar 2005
On Wed, 2005-03-16 at 08:47 +0530, Joshua N Pritikin wrote:
> CGI::Simple doesn't work with mod_perl 1.999.20:
> 
>  $data = $self->{'.mod_perl'} ? Apache->request->args :
>           $ENV{'QUERY_STRING'} || $ENV{'REDIRECT_QUERY_STRING'} || '';
> 
> Apache->request->args returns an Apache::RequestRec instead of a native
> perl data structure.

Really?  It should still give you the query string.

http://perl.apache.org/docs/2.0/api/Apache/RequestRec.html#C_args_

and possibly related...

http://perl.apache.org/docs/2.0/user/porting/compat.html#C__r_E_gt_args__in_an_Array_Context

- Perrin


CGI::Simple 0.077
Joshua N Pritikin 03:17 on 16 Mar 2005

Re: CGI::Simple 0.077
Perrin Harkins 04:21 on 16 Mar 2005

Re: CGI::Simple 0.077
Joshua N Pritikin 05:54 on 16 Mar 2005

Re: CGI::Simple 0.077
Joshua N Pritikin 12:21 on 16 Mar 2005

Re: CGI::Simple 0.077
Joshua N Pritikin 16:19 on 16 Mar 2005

Generated at 15:10 on 27 Mar 2005 by mariachi v0.52