perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rafiq Ismail (ADMIN)" <ra...@joshua.dreamthought.com>
Subject RE: Some wierd problem with mod_perl and Apache
Date Sat, 03 Aug 2002 21:49:52 GMT
On Sat, 3 Aug 2002, Ged Haywood wrote:

> Hi there,
>
> On Sat, 3 Aug 2002 pandit_tushar@emc.com wrote:
>
> > Well I wouldn't use CGI.pm just to  call param().
> >
> > If I don;t use CGI.pm, it complains during compilation
> > - Undefined subroutine &Apache::ChangePassword::param.
>
> Yup.  You need to parse the input some other way.  It's not difficult.

the one liner from the good old book:


my %params = $r->method eq 'POST' ? $r->content : $r->args;

Shove that in your handler somewhere and pass it around.  Remember that $r
is your request object.







Mime
View raw message