On Sun, Apr 01, 2001 at 09:05:33PM +, Robin Szemeti wrote:
> hmm .. more investigation needed :) .. just remebered data::dumper is my
> freind ..
You might try perl -d'ing it, setting a breakpoint (with 'b 150' or
'b sub_name') and then using 'x $q' to examine the data structure.
YMMV, HTH,
On Sun, 01 Apr 2001, you wrote:
> First question - is the second if statement in a separate block?
> Second question - is your server using mod_perl?
nope ... not yet, but thats the intention.
> If the answer to both those questions is yes, then mod_perl is doing something nasty
>with closures
Robin Szemeti wrote:
>OK girls ..
>...
>[submit form with parameter init_login='Login'
>
>my($q)=CGI->new;
>...
>if ( defined($q->param('init_login')) ){
> #do someting and it happens
>}
>... some code goes by
>if ( defined($q->param('init_login')) ){
> #do someting and it DOESNT happen
>}
>