i want to create a simple state machine using C but all the events in the respective states are executed using perl scripts.so is there any way to link these perl and C scripts so that when i go to a particular state in a state machine it should execute the particular function(event) defined in the perl script..how to proceed? or
writing the state machine using perl is better than this?
i want to create a simple state machine using C but all the events
Share
If your aim is to improve the speed of an existing module by extracting out some of the heavy lifting to C functions, then try using the Perl XS interface to write (some of) a module in C.
See http://perldoc.perl.org/perlxs.html for more information.