NAME

Automate - Finite state automate


SYNOPSIS

  use Automate;

  Automate-> new( $stream, $callerObject, $rules )
          -> run( $level, $data );


DESCRIPTION


Methods & Functions

new

Create a new automate

AddRule

Add a rule to an automate

run

run the automate


Internal Calls

Automate

gestion de l'automate

checkList

control if a state of the list match.

Match

return a non empty list if the level match the string


Exceptions

Automate::UnknownState

this exception is thrown when the automate arrive in a unknown state : it doesn't know what it can do after ...

Automate::EndOfStream

this exception is thrown when the automate had no string to treat


INTERNAL MECHANISM


Automate structure

todo ...


Rule structure

todo ...


How it work

todo ...


BUGS

I don't know ...


TO DO

Better documentation
Add tests ...


LICENCE & DOWNLOAD

this module is under the LGPL. you can download this module at http://XVII-ToolBox.sourceforge.net/XVII-ToolBox.tgz


AUTHOR

Samuel Mouniée aka Moun's, mouns@users.sourceforge.net


SEE ALSO

perl(1).