--- AnyEvent/README 2009/09/01 18:27:46 1.54 +++ AnyEvent/README 2009/11/19 01:55:57 1.56 @@ -356,6 +356,14 @@ When this is the case, you can call this method, which will update the event loop's idea of "current time". + A typical example would be a script in a web server (e.g. + "mod_perl") - when mod_perl executes the script, then the event loop + will have the wrong idea about the "current time" (being potentially + far in the past, when the script ran the last time). In that case + you should arrange a call to "AnyEvent->now_update" each time the + web server process wakes up again (e.g. at the start of your script, + or in a handler). + Note that updating the time *might* cause some events to be handled. SIGNAL WATCHERS @@ -1744,9 +1752,9 @@ operation much. It is purely used for performance. JSON and JSON::XS - This module is required when you want to read or write JSON data via - AnyEvent::Handle. It is also written in pure-perl, but can take - advantage of the ultra-high-speed JSON::XS module when it is + One of these modules is required when you want to read or write JSON + data via AnyEvent::Handle. It is also written in pure-perl, but can + take advantage of the ultra-high-speed JSON::XS module when it is installed. In fact, AnyEvent::Handle will use JSON::XS by default if it is