Skip Menu |

This queue is for tickets about the HTTP-Request-FromTemplate CPAN distribution.

Report information
The Basics
Id: 117662
Status: resolved
Priority: 0/
Queue: HTTP-Request-FromTemplate

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc: exodist [...] cpan.org
AdminCc:

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



CC: exodist [...] cpan.org
Subject: Global symbol "$TODO" requires explicit package name
Tests fail, probably with newer Test::More: PERL_DL_NONLAZY=1 "/usr/perl5.18.4p/bin/perl5.18.4" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/http_request_fromtemplate_01_api.t ............. ok Global symbol "$TODO" requires explicit package name at inc/MyTestFramework.pm line 37. Compilation failed in require at t/http_request_fromtemplate_02_basic.t line 5. BEGIN failed--compilation aborted at t/http_request_fromtemplate_02_basic.t line 5. t/http_request_fromtemplate_02_basic.t ........... Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run Global symbol "$TODO" requires explicit package name at inc/MyTestFramework.pm line 37. Compilation failed in require at t/http_request_fromtemplate_03_content_length.t line 5. BEGIN failed--compilation aborted at t/http_request_fromtemplate_03_content_length.t line 5. t/http_request_fromtemplate_03_content_length.t .. Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run Here's the statistical analysis which suggests that the problem is caused by Test::More 1.302026 and newer: **************************************************************** Regression 'mod:Test::More' **************************************************************** Name Theta StdErr T-stat [0='const'] 1.0000 0.0000 15873109068837174.00 [1='eq_1.001014'] 0.0000 0.0000 0.00 [2='eq_1.302026'] -1.0000 0.0000 -11223983061088450.00 [3='eq_1.302047'] -1.0000 0.0000 -9164343793769434.00 [4='eq_1.302052'] -1.0000 0.0000 -14965310748117934.00 R^2= 1.000, N= 35, K= 5 ****************************************************************
Thanks for the report! I'm not sure the problem is with a recent Test::More - the code certainly always was buggy in not declaring the global variable $TODO. Fixed in 0.04, already on CPAN. -max