in reply to Is a Dispatch Table appropriate here?

Your question, and Belgarion's fine answer (++) are wandering into the territory of "Discrete Finite Automata".

If your set of conditions and actions start to get complex, you may want to consider DFA::Simple and other DFA modules.

     You're just jealous cause the voices are only talking to me.

     No trees were killed in the sending of this message.    However, a large number of electrons were terribly inconvenienced.

  • Comment on Re: Is a Dispatch Table appropriate here?