<< Back    Next Slide >>
The code
As with most things perl-ish, there is way more than one way to do it. In this particular example, I'm only going to focus on POE's "object sessions"

What we need:

  • an object for each kind of session we will want. in this case, we'll have two different objects:
    • master - this object is in charge of getting things moving, and running the show.
    • flunkie - this object does the work while the master eats donuts
  • a little POE code to set up the master session, and to start the POE kernel running
<< Back    Next Slide >>