Skip Menu |

This queue is for tickets about the POE-Component-Resolver CPAN distribution.

Report information
The Basics
Id: 74486
Status: resolved
Priority: 0/
Queue: POE-Component-Resolver

People
Owner: Nobody in particular
Requestors: portnoy [...] tellink.net
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Typo in POE::Component::Resolver line 265
Date: Sat, 28 Jan 2012 20:05:09 -0500
To: bug-POE-Component-Resolver [...] rt.cpan.org
From: Jon Portnoy <portnoy [...] tellink.net>
Line 265 of Resolver.pm on github: return unless scalar keys %{$heap->{reuqests}};
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);