On Tue, 4 Dec 2001 15:21:03 -0500  Rocco Caputo wrote:
 +------------------
 | Either way, each session needs some code to gracefully shut itself
 | down.  Using signals, that code would be tied to the fictitious
 | GO_AWAY_NOW signal:
 | 
 |   POE::Session->create(
 |     inline_states => {
 |       _start => \&start_the_peace_process,
 |       ...,
 |       my_personal_shutdown_event => \&halt_the_peace_process,
 |     }
 |   );
 +------------------

You'd recommend using a new event rather than doing it in the _stop event?

--

Reply via email to