Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: Are state machines just for parsing?

by samtregar (Abbot)
on Dec 08, 2004 at 22:03 UTC ( #413343=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    <workflow>
         <type>myworkflow</type>
    ...
                  <condition test="$context->{user} ne 'CWINTERS'" />
             </action>
             ...
    
  2. or download this
       my $workflow = Workflow::Generator->new(type => "myworkflow");
       $state = $workflow->add_state(name => "INITIAL");
    ...
       $state = $workflow->add_state(name => "uploaded", autorun => "yes")
    +;
       $state->add_action(name => "verify_file", resulting_state => "annot
    +ate");
       $condition = $state->add_condition(test => \&check_file);
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2014-12-25 17:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (161 votes), past polls