Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Moving to next iteration of a while loop

by hdb (Prior)
on Sep 23, 2013 at 16:36 UTC ( #1055331=note: print w/replies, xml ) Need Help??


in reply to Moving to next iteration of a while loop

The next statement comes after the print. For a meaningful test, it should be the other way round...

UPDATE: That was stupid from me. What I think is happening, if a line begins with an 'E' or 'G' you never hit the next statement, so the if statement is executed.

  • Comment on Re: Moving to next iteration of a while loop

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2016-10-01 06:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (575 votes). Check out past polls.