Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Class-Inspector CPAN distribution.

Report information
The Basics
Id: 74224
Status: resolved
Priority: 0/
Queue: Class-Inspector

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

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



Subject: loaded() noisy under Perl 5.15.7.
Perl 5.15.7 added package variables to its checking for the deprecated 'defined(@array)' construct. The _loaded() method (used by loaded() and subclass()) makes use of this. A patch is in preparation.
On Sat Jan 21 18:26:23 2012, WYANT wrote: Show quoted text
> Perl 5.15.7 added package variables to its checking for the deprecated > 'defined(@array)' construct. The _loaded() method (used by loaded() and > subclass()) makes use of this. > > A patch is in preparation.
Committed as SVN revision 15150. The patch simply removed the 'defined' from the relevant line (number 127: return 1 if defined @{"${name}::ISA"}; ) and appends '_01' to the version number. See the commit message for a certain amount of navel-gazing about whether this was the right thing to do.
From: d.thomas [...] its.uq.edu.au
On Sat Jan 21 18:26:23 2012, WYANT wrote: Show quoted text
> Perl 5.15.7 added package variables to its checking for the deprecated > 'defined(@array)' construct. The _loaded() method (used by loaded() and > subclass()) makes use of this.
FYI in bleadperl 5.15.7 this causes test FAIL in at least PPI-1.215 & DBIx-Class-Schema-Loader e.g. PPI t/19_selftesting.t ............... 1696/2118 # Failed test 'no warnings' # at /opt/perl/uq.is.perl.rhel6-5.15.7-20120121/lib/site_perl/5.15.7/Test/NoWarnings.pm line 45. # There were 2 warning(s) # Previous test 0 ''
On Mon Jan 23 02:09:41 2012, d.thomas@its.uq.edu.au wrote: Show quoted text
> On Sat Jan 21 18:26:23 2012, WYANT wrote:
> > Perl 5.15.7 added package variables to its checking for the
> deprecated
> > 'defined(@array)' construct. The _loaded() method (used by loaded()
> and
> > subclass()) makes use of this.
> FYI in bleadperl 5.15.7 this causes test FAIL in at least PPI-1.215 & > DBIx-Class-Schema-Loader > e.g. PPI > > t/19_selftesting.t ............... 1696/2118 > # Failed test 'no warnings' > # at /opt/perl/uq.is.perl.rhel6-5.15.7- > 20120121/lib/site_perl/5.15.7/Test/NoWarnings.pm > line 45. > # There were 2 warning(s) > # Previous test 0 ''
Version 1.27 runs clean under Perl 5.15.7 -- at least for me. Thank you very much.
Confirmed fixed