Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Moving to next iteration of a while loop

by hdb (Parson)
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 taking refuge in the Monastery: (8)
As of 2014-08-21 15:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (136 votes), past polls