CGI .. its out to get me ...

2001-04-01 Thread Robin Szemeti
OK girls .. why does this .. do this? [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 } now .. you

Re: CGI .. its out to get me ...

2001-04-01 Thread rob
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 } now .. you are

Re: CGI .. its out to get me ...

2001-04-01 Thread Robin Szemeti
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