doon
doon

Reputation: 2361

Software that helps to build a state machine in Perl

I have to write a state machine in Perl. I tried using SMC but it does not have AppClass_sm for Perl.I have not been able to get any feedback from anywhere on how to tackle this. Is there something similar to SMC or should I try using DFA : StateMap class. I have to read and understand it though before I can determine if it will help. Any inputs appreciated

Upvotes: 2

Views: 613

Answers (3)

doon
doon

Reputation: 2361

I contacted the developers of SMC. He explained that I needed to run the makefile in the examples directory to create the Appclass_sm module. This resolved the issue.

Upvotes: 0

Bill Ruppert
Bill Ruppert

Reputation: 9016

I wrote an article for perl.com years ago about building a state machine using DFA::Simple.

The article is at http://www.perl.com/pub/2004/09/23/fsms.html along with a valid link to the code.

For some reason, DFA::Simple is not on CPAN. It can be found at https://github.com/gitpan/DFA-Simple.

Upvotes: 2

Alexander Oh
Alexander Oh

Reputation: 25641

shouldn't something like this be sufficient?

http://www.netrino.com/Embedded-Systems/How-To/State-Machines-Event-Driven-Systems

Upvotes: 1

Related Questions