T
tyjb
I'm new to Windows perl and am recreating a menuing system that we
have on Unix, perl calling perl using the do command. The menus
present options to users with some options going to other menus. When
I execute one of the options, not another menu, I use "return" to
return to the calling menu/program. When I do, all numeric inputs
from the user are ignored. The only valid input is an "e" which exits
the menu. Any idea what's happening? Below is the code that returns
the program to the calling program.
if ($length == 0) {
print "Job $job currently has no output to display\n";
sleep 3;
return; }
have on Unix, perl calling perl using the do command. The menus
present options to users with some options going to other menus. When
I execute one of the options, not another menu, I use "return" to
return to the calling menu/program. When I do, all numeric inputs
from the user are ignored. The only valid input is an "e" which exits
the menu. Any idea what's happening? Below is the code that returns
the program to the calling program.
if ($length == 0) {
print "Job $job currently has no output to display\n";
sleep 3;
return; }