Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Distributed "event" broadcasting?

by jdrago_999 (Hermit)
on Apr 21, 2009 at 00:19 UTC ( [id://758836]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    My::EventManager->observe( 'foo.on_mobble' => sub {
      my $event = shift;
    ...
      my $foo = $event->src;
      # Do stuff to $foo
    });
    
  2. or download this
    # Let anyone who cares know that $foo has just mobbled.
    $foo->notify( event => 'foo.on_mobble' );
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://758836]
Approved by AnomalousMonk
Front-paged by targetsmart
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (8)
As of 2024-03-28 11:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found