perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "sully" <sull...@rogers.com>
Subject RE: Some wierd problem with mod_perl and Apache
Date Mon, 05 Aug 2002 17:44:43 GMT
Interesting. How did you write the workaround? A copy of the new input-taking code would be
much appreciated.


S. Syed

On 8/5/2002 at 12:36 PM pandit_tushar@emc.com wrote:


>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.



--------------------------------------------------------------------------------------------------
"A computer lets you make more mistakes faster than any invention 
in human history - with the possible exceptions of handguns and 
tequila." 						
                                                -- Mitch Ratliffe


Mime
View raw message