Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: This fails mysteriously everytime...

by dws (Chancellor)
on May 04, 2001 at 03:38 UTC ( #77838=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://77838]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2019-11-13 07:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Strict and warnings: which comes first?



    Results (69 votes). Check out past polls.

    Notices?