Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Perl-Critic CPAN distribution.

Report information
The Basics
Id: 17082
Status: resolved
Priority: 0/
Queue: Perl-Critic

People
Owner: thaljef [...] cpan.org
Requestors: GHENRY [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.13
Fixed in: 0.14



Subject: Undefined subroutine &PPI::Statement::Sub::_INSTANCE
Can't install on Fedora Core 4 - 5.8.6: ok 116 - Subroutines::ProhibitExplicitReturnUndef Undefined subroutine &PPI::Statement::Sub::_INSTANCE called at /usr/lib/perl5/site_perl/5.8.6/PPI/Statement/Sub.pm line 86. # Looks like you planned 149 tests but only ran 116. # Looks like your test died just after 116. dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 117-149 Failed 33/149 tests, 77.85% okay t/03_pragmas.........1..11 Thanks, Gavin.
Yep, that's a bug in PPI (see http://rt.cpan.org/Ticket/Display.html? id=16814). Adam Kennedy is working on fixing it. In the meantime, you can work around it by installing an older version of PPI (anything prior to 1.105 should work). Or you can locally fix the PPI::Statement::Subroutine module by chaning line 36 to: use Params::Util '_INSTANCE'; Once Adam releases a new PPI, I'll make an official release of Perl- Critic-0.14. Let me know how it goes :) -Jeff
Subject: Re: [rt.cpan.org #17082] Undefined subroutine &PPI::Statement::Sub::_INSTANCE
Date: Mon, 16 Jan 2006 00:18:30 -0000 (GMT)
To: bug-Perl-Critic [...] rt.cpan.org
From: "Gavin Henry" <ghenry [...] perl.me.uk>
<quote who="Jeffrey Thalhammer via RT"> Show quoted text
> Yep, that's a bug in PPI (see http://rt.cpan.org/Ticket/Display.html? > id=16814). Adam Kennedy is working on fixing it. In the meantime, > you can work around it by installing an older version of PPI (anything > prior to 1.105 should work). Or you can locally fix the > PPI::Statement::Subroutine module by chaning line 36 to: > > use Params::Util '_INSTANCE'; > > Once Adam releases a new PPI, I'll make an official release of Perl- > Critic-0.14. Let me know how it goes :) > > -Jeff >
Cool. Thanks. Made line 36: use Params::Util q{_INSTANCE}; And now installed. Cheers. -- Walking the road to enlightenment... I found a penguin and a camel on the way..... Fancy a yourname@perl.me.uk? Just ask!!! http://perlmonks.org/?node_id=386673