… | |
… | |
309 | use AnyEvent; |
309 | use AnyEvent; |
310 | # explicit version on next line, as some cpan-testers test with the 0.1 version, |
310 | # explicit version on next line, as some cpan-testers test with the 0.1 version, |
311 | # ignoring dependencies, and this line will at least give a clear indication of that. |
311 | # ignoring dependencies, and this line will at least give a clear indication of that. |
312 | use AnyEvent::Fork 0.6; # we don't actually depend on it, this is for convenience |
312 | use AnyEvent::Fork 0.6; # we don't actually depend on it, this is for convenience |
313 | |
313 | |
314 | our $VERSION = 0.2; |
314 | our $VERSION = 1.1; |
315 | |
315 | |
316 | =item my $rpc = AnyEvent::Fork::RPC::run $fork, $function, [key => value...] |
316 | =item my $rpc = AnyEvent::Fork::RPC::run $fork, $function, [key => value...] |
317 | |
317 | |
318 | The traditional way to call it. But it is way cooler to call it in the |
318 | The traditional way to call it. But it is way cooler to call it in the |
319 | following way: |
319 | following way: |