--- AnyEvent/lib/AnyEvent.pm 2006/10/30 20:55:05 1.15 +++ AnyEvent/lib/AnyEvent.pm 2006/11/24 14:40:13 1.17 @@ -159,6 +159,28 @@ =back +=head1 GLOBALS + +=over 4 + +=item $AnyEvent::MODEL + +Contains C until the first watcher is being created. Then it +contains the event model that is being used, which is the name of the +Perl class implementing the model. This class is usually one of the +C modules, but can be any other class in the case +AnyEvent has been extended at runtime (e.g. in I). + +The known classes so far are: + + AnyEvent::Impl::Coro based on Coro::Event, best choise. + AnyEvent::Impl::Event based on Event, also best choice :) + AnyEvent::Impl::Glib based on Glib, second-best choice. + AnyEvent::Impl::Tk based on Tk, very bad choice. + AnyEvent::Impl::Perl pure-perl implementation, inefficient. + +=back + =head1 WHAT TO DO IN A MODULE As a module author, you should "use AnyEvent" and call AnyEvent methods @@ -197,7 +219,7 @@ use strict 'vars'; use Carp; -our $VERSION = '2.0'; +our $VERSION = '2.1'; our $MODEL; our $AUTOLOAD;