https://bugzilla.redhat.com/show_bug.cgi?id=836194 Bug ID: 836194 QA Contact: extras-qa@xxxxxxxxxxxxxxxxx Severity: unspecified External Bug URL: http://rt.cpan.org/Public/ Version: rawhide Priority: unspecified CC: iarnell@xxxxxxxxx, perl-devel@xxxxxxxxxxxxxxxxxxxxxxx Assignee: iarnell@xxxxxxxxx Summary: defined(@array) deprecated in Perl 5.15.7 Regression: --- Story Points: --- Classification: Fedora OS: Unspecified Reporter: paul@xxxxxxxxxxxx Type: Bug Documentation: --- Hardware: Unspecified Mount Type: --- Status: NEW Component: perl-Devel-Hide Product: Fedora External Bug ID: CPAN 74225 The 'defined(@array)' construction was actually deprecated a while back, but there was no warning on package variables until Perl 5.15.7. The warnings show up in the build for Perl 5.16 (http://kojipkgs.fedoraproject.org//packages/perl-Devel-Hide/0.0008/10.fc18/data/logs/noarch/build.log): $ make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t defined(@array) is deprecated at /builddir/build/BUILD/Devel-Hide-0.0008/blib/lib/Devel/Hide.pm line 104. (Maybe you should just omit the defined()?) # Testing Devel::Hide 0.0008, Perl 5.016000, /usr/bin/perl t/001use.t .............. ok defined(@array) is deprecated at /builddir/build/BUILD/Devel-Hide-0.0008/blib/lib/Devel/Hide.pm line 104. (Maybe you should just omit the defined()?) Devel::Hide hides Q.pm, R.pm t/002basic.t ............ ok defined(@array) is deprecated at /builddir/build/BUILD/Devel-Hide-0.0008/blib/lib/Devel/Hide.pm line 104. (Maybe you should just omit the defined()?) Devel::Hide hides Q.pm, R.pm t/003user.t ............. ok defined(@array) is deprecated at /builddir/build/BUILD/Devel-Hide-0.0008/blib/lib/Devel/Hide.pm line 104. (Maybe you should just omit the defined()?) Devel::Hide hides Q.pm, R.pm t/004env.t .............. ok defined(@array) is deprecated at /builddir/build/BUILD/Devel-Hide-0.0008/blib/lib/Devel/Hide.pm line 104. (Maybe you should just omit the defined()?) t/005lib.t .............. ok defined(@array) is deprecated at /builddir/build/BUILD/Devel-Hide-0.0008/blib/lib/Devel/Hide.pm line 104. (Maybe you should just omit the defined()?) Devel::Hide: Too late to hide P.pm t/006before.t ........... ok defined(@array) is deprecated at /builddir/build/BUILD/Devel-Hide-0.0008/blib/lib/Devel/Hide.pm line 104. (Maybe you should just omit the defined()?) Devel::Hide hides Q.pm, R.pm defined(@array) is deprecated at /builddir/build/BUILD/Devel-Hide-0.0008/blib/lib/Devel/Hide.pm line 104. (Maybe you should just omit the defined()?) Devel::Hide hides Q.pm, R.pm t/050child-processes.t .. ok t/090pod.t .............. ok defined(@array) is deprecated at /builddir/build/BUILD/Devel-Hide-0.0008/blib/lib/Devel/Hide.pm line 104. (Maybe you should just omit the defined()?) t/098pod-coverage.t ..... ok All tests successful. Files=9, Tests=45, 0 wallclock secs ( 0.04 usr 0.01 sys + 0.28 cusr 0.03 csys = 0.36 CPU) Result: PASS Omitting the defined() as suggested resolves the problem. -- You are receiving this mail because: You are on the CC list for the bug. -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel