Sounds like it can be refactored out of provides(). Patches welcome. :-)
David
On Mon, Apr 1, 2013 at 10:56 PM, Karen Etheridge via RT
<bug-Module-Metadata@rt.cpan.org> wrote:
Show quoted text> Mon Apr 01 22:56:34 2013: Request 84357 was acted upon.
> Transaction: Ticket created by ETHER
> Queue: Module-Metadata
> Subject: wishlist: is_indexable method
> Broken in: (no value)
> Severity: (no value)
> Owner: Nobody
> Requestors: ether@cpan.org
> Status: new
> Ticket <URL:
https://rt.cpan.org/Ticket/Display.html?id=84357 >
>
>
> ... as described in
https://github.com/xenoterracide/Test-Version/issues/4#issuecomment-15730199 -- there should be a way to interrogate whether the package is "internal", "unindexable" etc.
>
> The Dist::Zilla plugin PkgVersion chooses not to add $VERSION lines to .pm files that are "private" using this heuristic:
>
> if ($package_stmt->content =~ /package\s*(?:#.*)?\n\s*\Q$package/) {
> $self->log([ 'skipping private package %s in %s', $package, $file->name ]);
> next;
> }
>
--
David Golden <dagolden@cpan.org>
Take back your inbox! →
http://www.bunchmail.com/
Twitter/IRC: @xdg