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


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

And your example differs from the TCP/IP state machine example in which way? Your example is doing what every other state machine does: it uses the current state and the current input to determine what the next state will be (that is, it's performing a "calculation"). Your example only strengthens my point.