in reply to cls and perl
sub mmenu{ print "\nDo you wish to go back to the MAIN menu? [y/n] y\b"; $ans = <STDIN>; chomp($ans); if (($ans eq "y") || ($ans eq "")) { goto mainmenu; } else { exit 0; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: cls and perl
by JediWizard (Deacon) on Sep 23, 2004 at 15:34 UTC | |
|
Re^2: cls and perl
by DrWhy (Chaplain) on Sep 23, 2004 at 16:11 UTC |