Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re^3: Understanding CPAN indexing

by tobyink (Abbot)
on Jul 16, 2013 at 13:01 UTC ( #1044590=note: print w/ replies, xml ) Need Help??

in reply to Re^2: Understanding CPAN indexing
in thread Understanding CPAN indexing

As I understand it, "provides" beats "no_index". If you want a module to be excluded from CPAN indexes, then you need to make sure it's covered by "no_index" and not included in "provides".

That said, the main reason you'd normally do that would be for a module that is bundled with your distribution, but not intended for installation. For example, a module that is only needed to run the test suite.

Modules that are needed for the distribution to run probably ought to be indexed as normal.

package Cow { use Moo; has name => (is => 'lazy', default => sub { 'Mooington' }) } say Cow->new->name

Comment on Re^3: Understanding CPAN indexing

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1044590]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (7)
As of 2015-11-29 07:02 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (748 votes), past polls