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 (Monsignor)
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2017-11-19 02:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (278 votes). Check out past polls.

    Notices?