Beefy Boxes and Bandwidth Generously Provided by pair Networks Frank
Perl: the Markov chain saw
 
PerlMonks  

Re: Specifying multiple conditions in a config file

by stevieb (Hermit)
on Jan 24, 2012 at 22:15 UTC ( #949779=note: print w/ replies, xml ) Need Help??


in reply to Specifying multiple conditions in a config file

If I understand correctly, you want to research 'dispatch tables'.

They may not provide you with all of the complexity you are looking to achieve, but they will get you well on your way.

Perhaps you could show some code and a snip with examples from your config file

Steve


Comment on Re: Specifying multiple conditions in a config file
Re^2: Specifying multiple conditions in a config file
by planetscape (Canon) on Jan 25, 2012 at 13:18 UTC
Re^2: Specifying multiple conditions in a config file
by korpenkraxar (Sexton) on Feb 04, 2012 at 19:19 UTC

    Hi!

    Yes something like a dispatch table is probably what I need. I plan to use objects that register signals that they listen for and a state engine that keeps track of the signals. When an object catches a signal/condition it may send new ones and the fall-through restarts. The actual sensory input comes from a pipe or socket.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (12)
As of 2013-05-24 08:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best material for plates (tableware) is:









    Results (500 votes), past polls