… | |
… | |
1566 | package AE; |
1566 | package AE; |
1567 | |
1567 | |
1568 | our $VERSION = $AnyEvent::VERSION; |
1568 | our $VERSION = $AnyEvent::VERSION; |
1569 | |
1569 | |
1570 | sub _reset() { |
1570 | sub _reset() { |
1571 | eval q{ |
1571 | eval q{ |
1572 | # fall back to the main API by default - backends and AnyEvent::Base |
1572 | # fall back to the main API by default - backends and AnyEvent::Base |
1573 | # implementations can overwrite these. |
1573 | # implementations can overwrite these. |
1574 | |
1574 | |
1575 | sub io($$$) { |
1575 | sub io($$$) { |
1576 | AnyEvent->io (fh => $_[0], poll => $_[1] ? "w" : "r", cb => $_[2]) |
1576 | AnyEvent->io (fh => $_[0], poll => $_[1] ? "w" : "r", cb => $_[2]) |