Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    AnyEvent::Blackboard 0.4.1

    Download button

    No screenshots available
    Downloads: 128  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Scott McCoy | More programs
    Perl Artistic License / FREE
    September 19th, 2012, 08:09 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    AnyEvent::Blackboard description

    A simple blackboard database and dispatcher

    AnyEvent::Blackboard is a simple blackboard database and dispatcher.

    SYNOPSIS

     my $blackboard = AnyEvent::Blackboard->new();

     $blackboard->watch([qw( foo bar )], [ $object, "found_foobar" ]);
     $blackboard->watch(foo => [ $object, "found_foo" ]);

     $blackboard->put(foo => "First dispatch");
     # $object->found_foo("First dispatch") is called
     $blackboard->put(bar => "Second dispatch");
     # $object->found_foobar("Second dispatch") is called

     $blackboard->clear;

     $blackboard->put(bar => "Future Dispatch");
     # No dispatch is called...
     # but $blackboard->get("bar") eq "Future Dispatch"

     $blackboard->put(foo => "Another dispatch");

     # Order of the following is undefined:
     #
     # $object->found_foo("Future dispatch") is called
     # $object->found_foobar("Another dispatch") is called

     $blackboard->hangup;



    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    blackboard database | Perl module | blackboard dispatcher | Perl | blackboard | database

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM