Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: do-while loop question

by vagnerr (Prior)
on Mar 13, 2003 at 10:25 UTC ( [id://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.