Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: unless ($turn){...} evaluates $turn for what?

by bradcathey (Prior)
on Sep 06, 2003 at 20:49 UTC ( [id://289505]=note: print w/replies, xml ) Need Help??


in reply to unless ($turn){...} evaluates $turn for what?

Not so sure I understand the question. Having said that, the until is just another great way Perl allows a "conditional loop". Don't read too much into it. Set up some examples with do/hile/until or if/until and see how each works and decide what's best for any given situation. It's more fun than just doing if/else every time.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2024-04-19 04:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found