Help for this page

Select Code to Download


  1. or download this
    @menu_array=("User Operations","Domain Operations","Exit this script")
    +;
    @sub_array=qw(userMenu domainMenu sub_quit);
    ...
    $index=&getReply;
    $return_value=&{$sub_array[$index]};
    return($return_value);
    
  2. or download this
    &menuSub($friendly_prompts_array_ref, $sub_routine_array_ref,$question
    +)