Skip Menu |

This queue is for tickets about the Devel-Symdump CPAN distribution.

Report information
The Basics
Id: 96688
Status: open
Priority: 0/
Queue: Devel-Symdump

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

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



Subject: Fatal error in t/symdump.t under Perl 5.21.1
Perl 5.21.1 has made 'defined @array' a fatal error. This causes t/symdump.t to fail. This error is cosmetic in that the problem is in the test suite and not the module itself. I have marked the problem 'unimportant' for this reason, and because it only occurs in a development version of Perl. Presumably this will become more important in a year when 5.22 comes out. The perl5211delta states that 'defined @array' is now fatal, and claims that it has been deprecated since 5.6.1 and has raised warnings since 5.16, though presumably there were not warnings in all cases since the test is silent under 5.20.0. The attached patch to t/symdump.t removes the error by removing the 'defined'.
Subject: Devel-Symdump-t-symdump.patch
--- t/symdump.old 2013-10-30 02:23:33.000000000 -0400 +++ t/symdump.t 2014-06-24 11:02:40.000000000 -0400 @@ -147,9 +147,9 @@ if ( defined &{ "$pack\::import" } || defined &{ "$pack\::AUTOLOAD" } || - defined @{ "$pack\::ISA" } || - defined @{ "$pack\::EXPORT" } || - defined @{ "$pack\::EXPORT_OK"} + @{ "$pack\::ISA" } || + @{ "$pack\::EXPORT" } || + @{ "$pack\::EXPORT_OK"} ) { push @modules, $pack;
Subject: Re: [rt.cpan.org #96688] Fatal error in t/symdump.t under Perl 5.21.1
Date: Tue, 24 Jun 2014 23:05:48 +0200
To: bug-Devel-Symdump [...] rt.cpan.org
From: Andreas Koenig <andreas.koenig.7os6VVqR [...] franz.ak.mind.de>
Show quoted text
>>>>> On Tue, 24 Jun 2014 11:21:58 -0400, "Tom Wyant via RT" <bug-Devel-Symdump@rt.cpan.org> said:
Show quoted text
> +++ t/symdump.t 2014-06-24 11:02:40.000000000 -0400 > @@ -147,9 +147,9 @@ > if ( > defined &{ "$pack\::import" } || > defined &{ "$pack\::AUTOLOAD" } || > - defined @{ "$pack\::ISA" } || > - defined @{ "$pack\::EXPORT" } || > - defined @{ "$pack\::EXPORT_OK"} > + @{ "$pack\::ISA" } || > + @{ "$pack\::EXPORT" } || > + @{ "$pack\::EXPORT_OK"} > ) > { > push @modules, $pack;
Thanks, but 1.12 with this fix is released for several days already. cpan[2]> m Devel::Symdump Module id = Devel::Symdump CPAN_USERID ANDK (Andreas J. Koenig <andreas.koenig.7os6vvqr@franz.ak.mind.de>) CPAN_VERSION 2.12 CPAN_FILE A/AN/ANDK/Devel-Symdump-2.12.tar.gz UPLOAD_DATE 2014-06-20 MANPAGE Devel::Symdump - dump symbol names or the symbol table INST_FILE /home/sand/src/perl/repoperls/installed-perls/perl/v5.21.0/165a/lib/site_perl/5.21.0/Devel/Symdump.pm INST_VERSION 2.12 -- andreas
Thank you very much, and my apologies for reporting on a stale release.