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

Oh ... interesting.

I don't provide a Build.PL. Is there a MakeMaker equivalent ? I had a quick look through 'perldoc ExtUtils::MakeMaker' but didn't spot anything. (That doesn't mean it's not there, however :-)

I don't even provide a META.yml, but I believe that file can be created by running 'make dist'. I guess I could create that file and insert by hand (if necessary) the appropriate 'no_index' entry that you provided ? (I take it that it's the MEYA.yml contents and not the Build.PL contents that's the defining element ?)

Thanks, betterworld.

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

Replies are listed 'Best First'.
Re^3: PAUSE is too clever (a minor matter)
by naikonta (Curate) on May 22, 2007 at 14:31 UTC
    guess I could create that file and insert by hand (if necessary) the appropriate 'no_index' entry that you provided ?
    I think so, according to PAUSE About page:
    The PAUSE indexer honours the contents of the no_index and the provides fields. All other fields are currently ignored.

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

      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
        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
        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!