Help for this page

Select Code to Download


  1. or download this
      if    ($sel == 1) { show_installed() }
      elsif ($sel == 2) { show_available() }
      elsif ($sel == 3) { rgetpkglist()    }
      ...
    
  2. or download this
      my %dispatch = (
        1 => \&show_installed,
    ...
      }
    
      $dispatch{$sel}->();