Help for this page

Select Code to Download


  1. or download this
    if ($command eq "add") {
     ....
    ...
    .
    .
    }
    
  2. or download this
    %menus = (
       'first' => { 
    ...
                    'print' => '&print',
                   },
    );
    
  3. or download this
    $menus{first}{$_} if exists $menus{first}{$_};
    
    or
    
    print "Command not found.\n" if not exists $menus{first}{$_};