Skip Menu |

This queue is for tickets about the podlators CPAN distribution.

Report information
The Basics
Id: 17235
Status: resolved
Priority: 0/
Queue: podlators

People
Owner: Nobody in particular
Requestors: ron [...] savage.net.au
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 2.0.1
Fixed in: 2.0.2



Subject: Syntax errors: Global symbol "%char" requires explicit package name at ../blib/lib/Pod/Text/Termcap.pm line 113
(1) Command: make test Output: PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "- e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/basic...........dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-11 Failed 11/11 tests, 0.00% okay t/color...........dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-2 Failed 2/2 tests, 0.00% okay t/man.............ok t/parselink.......ok t/termcap.........dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-2 Failed 2/2 tests, 0.00% okay t/text-options....ok t/text............ok Failed Test Stat Wstat Total Fail Failed List of Failed ----------------------------------------------------------------------- -------- t/basic.t 255 65280 11 21 190.91% 1-11 t/color.t 255 65280 2 3 150.00% 1-2 t/termcap.t 255 65280 2 3 150.00% 1-2 Errors: Global symbol "%char" requires explicit package name at ../blib/lib/Pod/Text/Termcap.pm line 113. Global symbol "%char" requires explicit package name at ../blib/lib/Pod/Text/Termcap.pm line 113. Compilation failed in require at t/basic.t line 30. BEGIN failed--compilation aborted at t/basic.t line 30. Global symbol "%char" requires explicit package name at ../blib/lib/Pod/Text/Color.pm line 74. Global symbol "%char" requires explicit package name at ../blib/lib/Pod/Text/Color.pm line 74. Compilation failed in require at t/color.t line 35. Global symbol "%char" requires explicit package name at ../blib/lib/Pod/Text/Termcap.pm line 113. Global symbol "%char" requires explicit package name at ../blib/lib/Pod/Text/Termcap.pm line 113. Compilation failed in require at t/termcap.t line 32. BEGIN failed--compilation aborted at t/termcap.t line 32. Failed 3/7 test scripts, 57.14% okay. 15/69 subtests failed, 78.26% okay. make: *** [test_dynamic] Error 29 (2) Perl 5.8.0
On Mon Jan 23 23:37:34 2006, guest wrote: Show quoted text
> Errors: > Global symbol "%char" requires explicit package name > at ../blib/lib/Pod/Text/Termcap.pm line 113.
Well, that would be a bug in Perl 5.8.0. (5.8.7 has no problems.) I'll work around it, though. The regex in question is: /^(${char}{0,$width})\s+/ I suppose I can create two variables that hold $char with the two different qualifiers. I'll do that in the next release. Thanks for the report.
Subject: Re: [rt.cpan.org #17235] Syntax errors: Global symbol "%char" requires explicit package name at ../blib/lib/Pod/Text/Termcap.pm line 113
Date: Tue, 24 Jan 2006 18:22:49 +1100
To: Russ_Allbery via RT <bug-podlators [...] rt.cpan.org>
From: Ron Savage <ron [...] savage.net.au>
On Tue, 24 Jan 2006 00:56:36 -0500 (EST), Russ_Allbery via RT wrote: Hi Russ Show quoted text
> Well, that would be a bug in Perl 5.8.0. (5.8.7 has no problems.)
Yeah, a PITA. Show quoted text
> Thanks for the report.
$many x $thanx; -- Cheers Ron Savage, ron@savage.net.au on 24/01/2006 http://savage.net.au/index.html Let the record show: Microsoft is not an Australian company
Fixed in 2.0.2. Thanks!