Re: Devel::Cover and subroutine attributes

2012-12-11 Thread Aaron Crane
Paul Johnson wrote: > Anyway, I think the problem is actually a bug in perl itself. There's > more info in the bug report https://github.com/pjcj/Devel--Cover/issues/38 > and my mail to p5p seeking clarification is at > http://www.nntp.perl.org/group/perl.perl5.porters/2012/12/msg196269.html I t

Re: Devel::Cover and subroutine attributes

2012-12-08 Thread Paul Johnson
On Tue, Dec 04, 2012 at 10:32:00PM +0100, Paul Johnson wrote: > On Thu, Nov 29, 2012 at 12:02:00PM +, David Cantrell wrote: > > Devel::Cover breaks my tests! > I'd guess that there's a 75% chance that the problem will lie within > Cover.xs, but I know that's not much of a clue. It turns out t

Re: Devel::Cover and subroutine attributes

2012-12-05 Thread David Cantrell
On Tue, Dec 04, 2012 at 10:32:00PM +0100, Paul Johnson wrote: > On Thu, Nov 29, 2012 at 12:02:00PM +, David Cantrell wrote: > > Devel::Cover breaks my tests! > Oops, sorry. > > ... > > If you fancy adding it to github > (https://github.com/pjcj/Devel--Cover/issues?sort=created&direction=desc&s

Re: Devel::Cover and subroutine attributes

2012-12-04 Thread Paul Johnson
On Thu, Nov 29, 2012 at 12:02:00PM +, David Cantrell wrote: > Devel::Cover breaks my tests! Oops, sorry. It seems that no one has any ideas about this, and I'm afraid that I don't either without actually getting into it and starting to debug. I'd guess that there's a 75% chance that the prob

Devel::Cover and subroutine attributes

2012-11-29 Thread David Cantrell
Devel::Cover breaks my tests! $ cat foo.pl use strict; use warnings; use Test::More tests => 1; use Attribute::Handlers; my $attributed; sub Foo :ATTR(CODE) { my ($package, $symbol, $referent, $attr, $data) = @_; $attributed = "$referent"; } my $sub = sub :Foo(bar) {}; is($attributed