OK, I got that but now I'm stuck on how to add event names after the wheel has been created.
Also is there a callback to use for trapping undef'd events? many thx and merry x > -----Original Message----- > From: "Rocco Caputo" <[EMAIL PROTECTED]>@INTERNET@HHC > Sent: Monday, December 23, 2002 8:08 PM > To: [EMAIL PROTECTED] > Subject: Re: wierdness with events > > On Mon, Dec 23, 2002 at 05:56:56PM -0600, Bob Maccione wrote: > > I'm building what should be a simple app and for some reason I can't get > > events to be processed... Is there a way to tell POE to throw and > exception > > when an event handler isn't found. > > > > I've modifed the Jobserver code: > > http://poe.perl.org/?POE_Cookbook/Job_Server to show what's wrong. It > > seems that I can't use a coderef in the inline section. look for > >>>>>>>> > > below. > > [...] > > Bob also sent this to me privately, and that's where I responded to it > first. Essentially, the Wheel /.*Event/ parameters are designed to > take event names, not direct callbacks. > > -- Rocco Caputo - [EMAIL PROTECTED] - http://poe.perl.org/ >
