Danga-Socket-AnyEvent
view release on metacpan or search on metacpan
lib/Danga/Socket/AnyEvent.pm view on Meta::CPAN
# and now we can finally remove the fd from the map. see
# comment above in _cleanup.
delete $DescriptorMap{$fd};
}
# by default we keep running, unless a postloop callback (either per-object
# or global) cancels it
my $keep_running = 1;
# per-object post-loop-callbacks
for my $plc (values %PLCMap) {
$keep_running &&= $plc->(\%DescriptorMap, \%OtherFds);
}
# now we're at the very end, call callback if defined
if (defined $PostLoopCallback) {
$keep_running &&= $PostLoopCallback->(\%DescriptorMap, \%OtherFds);
}
return $keep_running;
( run in 0.706 second using v1.01-cache-2.11-cpan-9b1e4054eb1 )