The stupid question is the question not asked | |
PerlMonks |
Re: Are state machines just for parsing?by fglock (Vicar) |
on Dec 07, 2004 at 22:16 UTC ( [id://413024]=note: print w/replies, xml ) | Need Help?? |
How about POE:NFA? POE::NFA combines a runtime context with an event driven nondeterministic finite state machine. Its main difference from POE::Session is that it can embody many different states, and each state has a separate group of event handlers. Events are delivered to the appropriate handlers in the current state only, and moving to a new state is an inexpensive way to change what happens when an event arrives.
In Section
Seekers of Perl Wisdom
|
|