Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Re: Perl style question: loops with postcondition

by thelenm (Vicar)
on Jul 22, 2002 at 23:50 UTC ( #184293=note: print w/replies, xml ) Need Help??


in reply to Re: Perl style question: loops with postcondition
in thread Perl style question: loops with postcondition

That one's not a post-condition, though... in the original post, all the examples will execute the loop at least once, but while($condition){...} has the possibility of never executing the loop (if $condition is initially false).

-- Mike

--
just,my${.02}

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2023-11-29 03:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?