in reply to simple newb question
#usr/bin/perl -w #=for comment #pseudocode: #start event loop # gather input, then act on input # actions are print statements #=cut $quit = 0; $answer = "blank"; while ($quit == 0) { print "Do you want to loop?\n"; $answer = <STDIN>; print $answer; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: simple newb question
by stevieb (Canon) on Jun 13, 2012 at 02:19 UTC | |
by tye (Sage) on Jun 13, 2012 at 06:28 UTC |