Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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?
[davies]: LanX: It;s not the Lord Mayor, usually a businessman with the interests of London at heart, but the mayor, a politician with his own interests at heart. The Lord Mayor is responsible for London, i.e. the "square mile"...
[davies]: The mayor is irresponsible for greater London.
shmem .oO( meaning: the mayor is only responsible to a certain degree )
[davies]: erix: The only time I went to Utrecht (for the NLPW), there was a campanile playing. Beautiful music in a beautiful town.
[&lt; &amp; &gt;]: ah I see
[davies]: .oO(shmem: meant to mean that the mayor, like those before him, is an appalling bleep. And utterly irresponsible.)

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (1)
As of 2017-12-15 17:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (439 votes). Check out past polls.

    Notices?