Beefy Boxes and Bandwidth Generously Provided by pair Networks chromatic writing perl on a camel
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Are state machines just for parsing?

by fglock (Vicar)
on Dec 07, 2004 at 22:16 UTC ( #413024=note: print w/ replies, xml ) Need Help??


in reply to Are state machines just for parsing?

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.


Comment on Re: Are state machines just for parsing?
Re^2: Are state machines just for parsing?
by samtregar (Abbot) on Dec 07, 2004 at 22:25 UTC
    POE seems like overkill here, but I'll take a closer look if nothing else will do. Thanks!

    -sam

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://413024]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (12)
As of 2014-04-17 19:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (454 votes), past polls