while (1) { print <<EOF; Please select one of the following locations: 1.) Option 1.... 2.) Option 2.... 3.) Option 3.... EOF print "Selection: "; chomp(my $answer = <>); if ($menu_selection{$answer}) { print $menu_selection{$answer}, "\n"; last; } }
In reply to Re: Text Menu Not Looping on CR/LF
by JavaFan
in thread Text Menu Not Looping on CR/LF
by ritz303
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |