Help for this page

Select Code to Download


  1. or download this
    # Setup
    my @ok;
    ...
    if ($ok[$variable]) {
       ...
    }
    
  2. or download this
    # Setup
    my %fruit;
    ...
    if ($fruit{$object}) {
       ...
    }
    
  3. or download this
    # Setup
    my %dispatch = (
    ...
    } else {
       die("Invalid command $command\n");
    }