On Sat, May 1, 2010 at 2:12 PM, Michael G Schwern <schw...@pobox.com> wrote:
> I've just written Object-ID which contains UNIVERSAL::Object::ID.  This
> contains the code:
>
>    package UNIVERSAL;
>    use Object::ID;
>
> Module::Build sees that and adds UNIVERSAL to the provides info in META.yml.
> Ok, I don't really want to say that I provide UNIVERSAL.  I add no_index => {
> package => ["UNIVERSAL"] } to my MB arguments and rerun distmeta.  UNIVERSAL
> still shows up in provides.
>
> What's the proper way to remove something from the provides metadata without
> having to rewrite the whole thing?

I think it's the usual two-line trick:

    package # hide from provides
        UNIVERSAL;

-- David

Reply via email to