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

Re^6: next unless - and then 'until'

by Win (Novice)
on Mar 14, 2006 at 16:08 UTC ( #536613=note: print w/ replies, xml ) Need Help??


in reply to Re^5: next unless - and then 'until'
in thread next unless - and then 'until'

Sorry, I'm not sure what point your making here. What is wrong with nested while loops? What is wrong with using next statements within the while loops? What is wrong with instructing the resumption of the outermost while loop?


Comment on Re^6: next unless - and then 'until'
Re^7: next unless - and then 'until'
by virtualsue (Vicar) on Mar 14, 2006 at 16:31 UTC
    If there is no problem, nothing wrong with anything you are doing, nor with any of the ideas that you have about how Perl (and programming) works, why are you here?
Re^7: next unless - and then 'until'
by fishbot_v2 (Chaplain) on Mar 14, 2006 at 17:11 UTC
    What is wrong with nested while loops?

    Nothing. They are great. I have no idea what you are doing with them in your example. As far as I can see, they are pointless.

    What is wrong with using next statements within the while loops?

    Nothing, that's what they are for. I have no idea what you are doing with them in your example. As far as I can see, they are pointless.

    What is wrong with instructing the resumption of the outermost while loop?

    Well, you are telling it to resume what it is already doing? It's wrong in the sense that it's entirely pointless. You don't have to tell a loop to loop. Just let it loop.

    There isn't anything wrong with any of the basic concepts here, rather the problem is that you've pasted them randomly into lump of code that is surely without function or meaning. Your description of this code as a dream is entirely appropriate.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2014-09-23 23:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (241 votes), past polls