Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: Are state machines just for parsing?

by samtregar (Abbot)
on Dec 08, 2004 at 22:03 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://413343]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (5)
As of 2024-04-25 10:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found