This queue is for tickets about the Pod-Coverage CPAN distribution.

Report information
The Basics
Id:
132577
Status:
open
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
ramin [...] firstsource.tech
Cc:
AdminCc:

BugTracker
Severity:
(no value)
Broken in:
(no value)
Fixed in:
(no value)



Subject: The module doesn't check anonymous subs.
Date: Thu, 14 May 2020 12:24:34 +0430
To: "bug-Pod-Coverage" <bug-Pod-Coverage@rt.cpan.org>
From: "Roholah Sadegh Nasab (Ramin)" <ramin@firstsource.tech>
If we have a sub like this:

my $test_sub = sub {
      return 1;
      }

The Pod::Coverage module just ignores the function whether it has a POD or not.

Is there any way to solve this problem?

thanks.

Best regards,
Ramin


On Thu May 14 04:09:51 2020, ramin@firstsource.tech wrote:
Show quoted text
> If we have a sub like this: > > > > my $test_sub = sub { > >       return 1; > >       } > > > > The Pod::Coverage module just ignores the function whether it has a > POD or not. > > > > Is there any way to solve this problem? >
What would "covered" even mean for a sub like this? The sub is unnamed, and not callable outside the module. Pod is generally documentation for users, not authors of a module.


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

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