AnyEvent-MP

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

        - do not use bound address as listen length (reported by
          Felix Antonius Wilhelm Ostman).
        - no longer export an undefined "reg" function from AE::MP.
        - the mon_guard return value no longer keeps an additional
          reference to the passed refs.

1.1  Fri Sep 11 04:34:03 CEST 2009
	- bumped the transport protocol to version 1 - sorry, but there
          were too many bugfixes/changes.
	- new function AnyEvent::MP::cal for simple rpc.
	- renamed AnyEvent::MP::Global functions to grp_reg|get|mon.
        - implemented monitoring for Global groups.
	- removed all userspace time-outs from the transport, instead
          rely on tcp retransmit timeouts and tcp keepalive.
	- spawn now delays spawns on the local node artificially, so
          it can return before invoking the init function.
        - break endless recursion between ping-pong ports on the local
          node after ~50 iterations.
        - support JSON-encoded aemp arguments.
        - added aemp restart.
        - support for starting init functions with parameters added.

Changes  view on Meta::CPAN

          connecting, prefer the new addrseses over the old ones.

1.0  Wed Sep  2 20:40:43 CEST 2009
	- randomise more connection times, but reduce delay to 0.2s (seeds)
          and 0.05s (normal connects).
        - upgrade to and require AnyEvent::Watchdog 1.0.

0.95 Mon Aug 31 22:03:55 CEST 2009
	- tutorial finally covers all the basics, maybe not optimally, but it
          is covered.
	- rename initialise_node to configure and accepts key => value
          pairs for configuration.
	- give aemp a full manpage.
	- bin/aemp now expects comma-separated lists and supports multiple
          subcommands.
        - new aemp eval subcommand.
        - new aemp parent subcommand.
        - nodes get freed when no longer needed.
        - support "*" hostname to specify all local interface addresses
          (without localhost etc.).
        - support "*" port to specify a dynamically-assigned port (which

MP/Config.pm  view on Meta::CPAN

      or Carp::croak "$CONFIG_FILE~new~: $!";

   syswrite $fh, JSON::XS->new->pretty->utf8->encode (\%CFG) . "\n"
      or Carp::croak "$CONFIG_FILE~new~: $!";

   close $fh
      or Carp::croak "$CONFIG_FILE~new~: $!";

   unlink "$CONFIG_FILE~";
   link $CONFIG_FILE, "$CONFIG_FILE~";
   rename "$CONFIG_FILE~new~", $CONFIG_FILE
      or Carp::croak "$CONFIG_FILE: $!";
}

sub config {
   \%CFG
}

sub _find_profile($);
sub _find_profile($) {
   my ($name) = @_;



( run in 0.315 second using v1.01-cache-2.11-cpan-131fc08a04b )