… | … | ||
---|---|---|---|
2491 | my $txn = shift; | 2491 | my $txn = shift; |
2492 | my $data = $txn->result; | 2492 | my $data = $txn->result; |
2493 | ... | 2493 | ... |
2494 | }); | 2494 | }); |
2495 | 2495 | ||
2496 | EV::loop; | 2496 | EV::run; |
2497 | 2497 | ||
2498 | 3b. The module user could use AnyEvent, too: | 2498 | 3b. The module user could use AnyEvent, too: |
2499 | 2499 | ||
2500 | use AnyEvent; | 2500 | use AnyEvent; |
2501 | 2501 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |