… | |
… | |
46 | in a tutorial or some gentle introduction, have a look at the |
46 | in a tutorial or some gentle introduction, have a look at the |
47 | L<AnyEvent::Intro> manpage. |
47 | L<AnyEvent::Intro> manpage. |
48 | |
48 | |
49 | =head1 SUPPORT |
49 | =head1 SUPPORT |
50 | |
50 | |
|
|
51 | An FAQ document is available as L<AnyEvent::FAQ>. |
|
|
52 | |
51 | There is a mailinglist for discussing all things AnyEvent, and an IRC |
53 | There also is a mailinglist for discussing all things AnyEvent, and an IRC |
52 | channel, too. |
54 | channel, too. |
53 | |
55 | |
54 | See the AnyEvent project page at the B<Schmorpforge Ta-Sa Software |
56 | See the AnyEvent project page at the B<Schmorpforge Ta-Sa Software |
55 | Repository>, at L<http://anyevent.schmorp.de>, for more info. |
57 | Repository>, at L<http://anyevent.schmorp.de>, for more info. |
56 | |
58 | |
… | |
… | |
1165 | |
1167 | |
1166 | BEGIN { AnyEvent::common_sense } |
1168 | BEGIN { AnyEvent::common_sense } |
1167 | |
1169 | |
1168 | use Carp (); |
1170 | use Carp (); |
1169 | |
1171 | |
1170 | our $VERSION = '5.271'; |
1172 | our $VERSION = '5.29'; |
1171 | our $MODEL; |
1173 | our $MODEL; |
1172 | |
1174 | |
1173 | our $AUTOLOAD; |
1175 | our $AUTOLOAD; |
1174 | our @ISA; |
1176 | our @ISA; |
1175 | |
1177 | |
… | |
… | |
1289 | last; |
1291 | last; |
1290 | } |
1292 | } |
1291 | } |
1293 | } |
1292 | |
1294 | |
1293 | $MODEL |
1295 | $MODEL |
1294 | or die "No event module selected for AnyEvent and autodetect failed. Install any one of these modules: EV, Event or Glib.\n"; |
1296 | or die "AnyEvent: backend autodetection failed - did you properly install AnyEvent?\n"; |
1295 | } |
1297 | } |
1296 | } |
1298 | } |
1297 | |
1299 | |
1298 | @models = (); # free probe data |
1300 | @models = (); # free probe data |
1299 | |
1301 | |
1300 | push @{"$MODEL\::ISA"}, "AnyEvent::Base"; |
1302 | push @{"$MODEL\::ISA"}, "AnyEvent::Base"; |
1301 | unshift @ISA, $MODEL; |
1303 | unshift @ISA, $MODEL; |
1302 | |
1304 | |
1303 | # now nuke some methods that are overriden by the backend. |
1305 | # now nuke some methods that are overridden by the backend. |
1304 | # SUPER is not allowed. |
1306 | # SUPER is not allowed. |
1305 | for (qw(time signal child idle)) { |
1307 | for (qw(time signal child idle)) { |
1306 | undef &{"AnyEvent::Base::$_"} |
1308 | undef &{"AnyEvent::Base::$_"} |
1307 | if defined &{"$MODEL\::$_"}; |
1309 | if defined &{"$MODEL\::$_"}; |
1308 | } |
1310 | } |
… | |
… | |
2658 | pronounced). |
2660 | pronounced). |
2659 | |
2661 | |
2660 | |
2662 | |
2661 | =head1 SEE ALSO |
2663 | =head1 SEE ALSO |
2662 | |
2664 | |
|
|
2665 | Tutorial/Introduction: L<AnyEvent::Intro>. |
|
|
2666 | |
|
|
2667 | FAQ: L<AnyEvent::FAQ>. |
|
|
2668 | |
2663 | Utility functions: L<AnyEvent::Util>. |
2669 | Utility functions: L<AnyEvent::Util>. |
2664 | |
2670 | |
2665 | Event modules: L<EV>, L<EV::Glib>, L<Glib::EV>, L<Event>, L<Glib::Event>, |
2671 | Event modules: L<EV>, L<EV::Glib>, L<Glib::EV>, L<Event>, L<Glib::Event>, |
2666 | L<Glib>, L<Tk>, L<Event::Lib>, L<Qt>, L<POE>. |
2672 | L<Glib>, L<Tk>, L<Event::Lib>, L<Qt>, L<POE>. |
2667 | |
2673 | |
… | |
… | |
2673 | Non-blocking file handles, sockets, TCP clients and |
2679 | Non-blocking file handles, sockets, TCP clients and |
2674 | servers: L<AnyEvent::Handle>, L<AnyEvent::Socket>, L<AnyEvent::TLS>. |
2680 | servers: L<AnyEvent::Handle>, L<AnyEvent::Socket>, L<AnyEvent::TLS>. |
2675 | |
2681 | |
2676 | Asynchronous DNS: L<AnyEvent::DNS>. |
2682 | Asynchronous DNS: L<AnyEvent::DNS>. |
2677 | |
2683 | |
2678 | Coroutine support: L<Coro>, L<Coro::AnyEvent>, L<Coro::EV>, |
2684 | Thread support: L<Coro>, L<Coro::AnyEvent>, L<Coro::EV>, L<Coro::Event>. |
2679 | L<Coro::Event>, |
|
|
2680 | |
2685 | |
2681 | Nontrivial usage examples: L<AnyEvent::GPSD>, L<AnyEvent::XMPP>, |
2686 | Nontrivial usage examples: L<AnyEvent::GPSD>, L<AnyEvent::IRC>, |
2682 | L<AnyEvent::HTTP>. |
2687 | L<AnyEvent::HTTP>. |
2683 | |
2688 | |
2684 | |
2689 | |
2685 | =head1 AUTHOR |
2690 | =head1 AUTHOR |
2686 | |
2691 | |