http://www.perlmonks.org?node_id=77838


in reply to This fails mysteriously everytime...

...it runs into trouble when universedAction=Start is sent in the query string

The script is doing case-dependent string comparisons. Since "start" ne "Start", the script will fall off the bottom.

Either send "start", or change   our $universedAction = $statusCGI->param("universedAction");
to   our $universedAction = lc($statusCGI->param("universedAction"));
and use $universedAction in your comparisions (instead of re-getting the parameter each time).

Replies are listed 'Best First'.
Re: Re: This fails mysteriously everytime...
by dpatrick (Scribe) on May 04, 2001 at 03:43 UTC
    Thanks! I didn't notice my lowercast starts. I must study closer before I post.
    dpatrick