Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: do-while loop question

by vagnerr (Prior)
on Mar 13, 2003 at 10:25 UTC ( #242640=note: print w/ replies, xml ) Need Help??


in reply to do-while loop question

You are nrealy there, your Boolean logic is just alittle off. what you need is

while ( ($make_account ne 'y') && ($make_account ne 'Y') );
ie && rather than ||
Hope this helps

_______________________________________________________
Remember that amateurs built Noah's Ark. Professionals built the Titanic.


Comment on Re: do-while loop question
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (18)
As of 2015-07-01 18:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (16 votes), past polls