in reply to Make Current State Known

What I have done in cases like this is to put the information into shared memory. The subscribers then look at the appropriate value(s) and act accordingly. Do not forget that the publisher can change the value between the time the subscriber reads it and the time it starts to act on it. Regardless of the mechanism you use, there will be some occasions when things are not 100% in sync unless you have a mechanism to enforce the sync.

HTH, --traveler

Replies are listed 'Best First'.
Re^2: Make Current State Known
by Perl_Inquiry (Initiate) on Feb 13, 2006 at 19:27 UTC
    I was looking for the same thing and although I hev not yet delved into "it" (it being Perl Object Environment: POE), it looks very similar to what Java offers in its event / listener objects. http://poe.perl.org/?Tutorials