La séptima vida

...o el gato así lo espera/teme

AnyEvent child watchers and timers

This article demonstrates a program which launches an external process, waits for it to exit, waits a certain time, and restarts the cycle again. It is built using an AnyEvent child watcher and a timer.

AnyEvent tcp_server

Some time ago, a user of Device::Modbus told me that it would be nice if the server was implemented using AnyEvent rather than Net::Server. So, this is a first attempt at bending my head over AnyEvent servers.