perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pandit_tus...@emc.com
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.


-Tushar


-----Original Message-----
From: Ged Haywood [mailto:ged@www2.jubileegroup.co.uk]
Sent: Saturday, August 03, 2002 2:04 PM
To: pandit_tushar@emc.com
Cc: mod_perl Mailing List
Subject: RE: Some wierd problem with mod_perl and Apache


Hi there,

On Sat, 3 Aug 2002 pandit_tushar@emc.com 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 CGI.pm 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
browser?

> 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' ?

73,
Ged.

Mime
View raw message