in reply to nested loops problem
Using this method if the user entered nothing the program would exit.while ($choice) { print STDOUT "\nPlease select the catergory of results that you wi +sh to see;\n\n\t1. tv \n\t2. computers \n\t3. exercise \n\t4. food\n\ +n"; chomp ($choice = <STDIN>); # # your code goes here # }
~~rob
____________________________________________________________
eval pack "h*", "072796e647022245d445f475454494c5e622b3";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: nested loops problem
by Anonymous Monk on Jun 11, 2002 at 16:21 UTC | |
by r0b (Pilgrim) on Jun 11, 2002 at 16:28 UTC |