Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: Switch statement?

by The Mad Hatter (Priest)
on Jul 18, 2004 at 20:37 UTC ( #375424=note: print w/replies, xml ) Need Help??


in reply to Re: Switch statement?
in thread Switch statement?

Corion is right; there are two places where you actually have one too many open parens:
$tmp = uc(substr(($indata,$i,1)); # a bc cb ... no a switch (($tmp) { # ab b ... no a

Replies are listed 'Best First'.
Re^3: Switch statement?
by ihb (Deacon) on Jul 18, 2004 at 21:02 UTC
    for (($i=0; $i<$len; $i++) { # ab b ... no a

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://375424]
help
Chatterbox?
[choroba]: thezip should be ok.
[thezip]: It seemed so, choroba, but I don't want to confuse anyone (especially myself!)
[choroba]: thezip unless something like this happens to you.
[thezip]: I don't intend on doing any offline development in the Czech Republic soon, so i think I'm safe!
[thezip]: :-)
[choroba]: Yeah, there are countries with wifi everywhere
[choroba]: also, I didn't have a smart phone at that time

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (7)
As of 2017-03-23 21:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (294 votes). Check out past polls.