good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Event based programming: Callbacks or "Interfaces"?by valdez (Monsignor) |
on Jun 01, 2004 at 09:07 UTC ( [id://357968]=note: print w/replies, xml ) | Need Help?? |
Are you working with an infrared remote control? Well, I'm working on something similar :) I copied the approach used by CGI::Application: every Remote class has methods for every buttons/runmodes, but, unlike C::A, the association of a runmode to one or more buttons is made inside a configuration file. HTH, Valerio
In Section
Meditations
|
|