Intrepid has asked for the wisdom of the Perl Monks concerning the following question:

Hello Monks. I've been reading Google'd information on this but it seems that a final series of steps eludes me.

I've made a "dummy" .pm file that lists the modules in a CONTENTS header. I get that. The question I have is how to specify the .pm file to cpanplus. Just giving an argument comprising that filename does not work. Making a tarball of the file and using that as the argument does not work either. Using a file: URL to represent the module tarball doesn't work either.

Thank you for your attention and contribution.

Oct 17, 2024 at 23:07 UTC
The open palm of desire
Wants everything, it wants everything
It wants soil as soft as summer
And the strength to push like spring
Paul Simon -> Further to Fly

Replies are listed 'Best First'.
Re: Using a local "bundle" module in cpan or cpanp
by Fletch (Bishop) on Oct 18, 2024 at 03:11 UTC

    A bundle is just a module on the normal search path. Put your module Bundle::Dummy in a file Bundle/Dummy.pm somewhere on whatever search path you normally use (and/or add wherever it is to PERL5LIB).

    Edit: alternately you also can use ~/.cpan/Bundle/Dummy.pm which CPAN should search by default.

    The cake is a lie.
    The cake is a lie.
    The cake is a lie.