Subject: | Fail to install Gungho on perl 5.12.2 |
Hello,
When installing Gungho under Perl 5.12.2 I got the following failure:
t/engine/poe/05_dns_params.t ........................ 1/3 Undefined
subroutine &POE::Component::Client::DNS::SF_TIMEOUT called at
t/engine/poe/05_dns_params.t line 17.
# Looks like you planned 3 tests but ran 1.
# Looks like your test exited with 255 just after 1.
t/engine/poe/05_dns_params.t ........................ Dubious, test
returned 255 (wstat 65280, 0xff00)
It looks like there is a 'use' missing in this test; the follwoing patch
solves the issue:
--- t/engine/poe/05_dns_params.t.orig 2011-05-31 13:20:23.000000000 +0000
+++ t/engine/poe/05_dns_params.t 2011-05-31 13:20:34.000000000 +0000
@@ -11,6 +11,8 @@
}
}
+use POE::Component::Client::DNS;
+
my %dns_params = (
# key => value
timeout => [ &POE::Component::Client::DNS::SF_TIMEOUT, 10 ],
Thanks!