commit 32d22afac0c59a6ad5f68dd690a5c17849a0536f
Author: Rocco Caputo <rcaputo@cpan.org>
Date: Sun Mar 4 17:06:56 2012 -0500
[rt.cpan.org 74486] Fix a typo in a hash key.
I hate hash-based data structures for just this reason: typos are
silently ignored. Many thanks to Jon Portnoy for reporting this one.
diff --git a/lib/POE/Component/Resolver.pm b/lib/POE/Component/Resolver.pm
index 47da84b..ac76429 100644
--- a/lib/POE/Component/Resolver.pm
+++ b/lib/POE/Component/Resolver.pm
@@ -269,7 +269,7 @@ sub _poe_sidecar_attach {
my ($kernel, $heap) = @_[KERNEL, HEAP];
# Nothing to do if we don't have requests.
- return unless scalar keys %{$heap->{reuqests}};
+ return unless scalar keys %{$heap->{requests}};
# Requests exist.
_poe_setup_sidecar_ring($kernel, $heap);