http://www.perlmonks.org?node_id=413025


in reply to Re: Are state machines just for parsing?
in thread Are state machines just for parsing?

As for your problem, couldn't you just serialize your DFA::Simple object's state to storage between web requests?

That's not the problem. The problem is that DFA::Simple wants to parse text on a filehandle to trigger events. I don't have a text file full of events, I have a user on the other end of an HTTP connection!

-sam