… | |
… | |
90 | use base Exporter::; |
90 | use base Exporter::; |
91 | |
91 | |
92 | our @EXPORT = qw(loop unloop sweep); |
92 | our @EXPORT = qw(loop unloop sweep); |
93 | |
93 | |
94 | BEGIN { |
94 | BEGIN { |
95 | our $VERSION = 6.41; |
95 | our $VERSION = 6.57; |
96 | |
96 | |
97 | local $^W = 0; # avoid redefine warning for Coro::ready; |
97 | local $^W = 0; # avoid redefine warning for Coro::ready; |
98 | XSLoader::load __PACKAGE__, $VERSION; |
98 | XSLoader::load __PACKAGE__, $VERSION; |
99 | } |
99 | } |
100 | |
100 | |
… | |
… | |
118 | |
118 | |
119 | =cut |
119 | =cut |
120 | |
120 | |
121 | =item do_flavour args... |
121 | =item do_flavour args... |
122 | |
122 | |
123 | Create a watcher of the given type and immediately call it's next method, |
123 | Create a watcher of the given type and immediately call its next method, |
124 | returning the event. |
124 | returning the event. |
125 | |
125 | |
126 | This is less efficient then calling the constructor once and the next |
126 | This is less efficient then calling the constructor once and the next |
127 | method often, but it does save typing sometimes. |
127 | method often, but it does save typing sometimes. |
128 | |
128 | |
… | |
… | |
202 | |
202 | |
203 | 1; |
203 | 1; |
204 | |
204 | |
205 | =back |
205 | =back |
206 | |
206 | |
207 | =head1 AUTHOR |
207 | =head1 AUTHOR/SUPPORT/CONTACT |
208 | |
208 | |
209 | Marc Lehmann <schmorp@schmorp.de> |
209 | Marc A. Lehmann <schmorp@schmorp.de> |
210 | http://home.schmorp.de/ |
210 | http://software.schmorp.de/pkg/Coro.html |
211 | |
211 | |
212 | =cut |
212 | =cut |
213 | |
213 | |