in reply to Re^3: PAUSE is too clever (a minor matter)
in thread PAUSE is too clever (a minor matter)

The PAUSE indexer honours the contents of the no_index and the provides fields. All other fields are currently ignored

Thanks, naikonta - that seems quite definitive.

I'm still wondering whether there's a way to get MakeMaker to generate a META.yml that contains the 'no_index' entry - or do I have to edit by hand ? (This, of course, is purely academic - there's no reason that I can't manually insert the 'no_index' entry.)

Cheers,
Rob
  • Comment on Re^4: PAUSE is too clever (a minor matter)

Replies are listed 'Best First'.
Re^5: PAUSE is too clever (a minor matter)
by mpeters (Chaplain) on May 22, 2007 at 19:18 UTC
    This, of course, is purely academic - there's no reason that I can't manually insert the 'no_index' entry.

    Actually, there's a very practical reason for wanting MakeMaker to handle it (I don't know if it does). The next time you run make dist the changes you've made to no_index will be gone if you've just done it by hand.


    -- More people are killed every year by pigs than by sharks, which shows you how good we are at evaluating risk. -- Bruce Schneier
Re^5: PAUSE is too clever (a minor matter)
by naikonta (Curate) on May 22, 2007 at 19:34 UTC
    I often see people write MY package that subclassing ExtUtils::MakeMaker in their Makefile.PL files. Theoritically, we can probably create a method that overrides/extends the part of MM that writes this .yml file. Of course, in order to do so, one needs to learn more on the MM internals.

    OTOH, Module::Build directly supports no_index section. You may wanto to consider to switch.


    Open source softwares? Share and enjoy. Make profit from them if you can. Yet, share and enjoy!