OK girls .. 

why does this .. do this?

[submit form with parameter init_login='Login'


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 all about to say .. ahh .. something is reseting the
parameter elsewhere ... either Delete('init_login') or some such BUT if I
swap the first test to be 

if(defined($init)){ ... }

then the both calls work perficktly

so it appears that if ( defined($q->param('init_login')) ) is reseting
the CGI parameter to undef .. how can that be ??  or have I missed
something very basic about how the CGI module works ??

Robin Szemeti

The box said "requires windows 95 or better"
So I installed Linux!

Reply via email to