perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject RE: Some wierd problem with mod_perl and Apache
Date Mon, 05 Aug 2002 16:36:50 GMT
It was $_ that I was using that messed me. Thanks for pointing this
out to me. Other than that, things work just fine.


-----Original Message-----
From: Ged Haywood []
Sent: Saturday, August 03, 2002 2:04 PM
Cc: mod_perl Mailing List
Subject: RE: Some wierd problem with mod_perl and Apache

Hi there,

On Sat, 3 Aug 2002 wrote:

> Would like to know if someone can see any obvious problems here:
> package Apache::ChangePassword;
> use strict;
> use Apache::Constants qw(:common);
> use CGI '-autoload';

Well I wouldn't use just to  call param().

> sometimes....even though I enter all the values [snip]
> and press the change passwd button,

Have you checked that you are getting the expected request from the

> when I am printin the values of
> $oldpass/$newpass1/$confirmpass
> they are all 0.

> Other times...this works just fine...

Have you read "Sometimes it works...?"

> Am I messing with my global variables here ?

Have you checked what's in $_ ?

Have you tried 'httpd -X' ?


View raw message