Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id: 70387
Status: open
Priority: 0/
Queue: Devel-Cover

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

Bug Information
Severity: Normal
Broken in: 0.79
Fixed in: (no value)



Subject: nested anon subs are not covered
Download (untitled) / with headers
text/plain 113b
Hello Paul, The following gist demonstrates problem: https://gist.github.com/1159863 -- Best regards, Ruslan.
Download (untitled) / with headers
text/plain 489b
Thanks very much for this report. You're quite correct that this is a bug, but it's actually quite a different bug to what you had thought. The problem is the known bug that statements in the body of a module are not covered. You can see this by putting the code in Templates.pm into a sub and calling that sub, or by not using a module and having that code in the main script. This is a bug I really want to work on, but it will have to wait just a little longer. Thanks again,


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.