Help for this page

Select Code to Download


  1. or download this
    DoStuff({@parameters, on_event=>\&handle_event});
    
  2. or download this
    my $doer = new ThingThatDoesStuff ({@parameters});
    while ($doer->GetNextEvent()) {
        # handle event
    }
    
  3. or download this
    package ThingWithCallbacks;
    use ThingAsIterator;
    ...
            &$callback($event);
        }    
    }
    
  4. or download this
    ------------
    :Wq
    Not an editor command: Wq