in reply to Mirroring CPAN by inclusion declaration rather than by exclusion

There's a list of all CPAN modules on Metacpan.org. I would get that and parse out (using HTML::Parser::Simple maybe?) the module names I was after and tuck them somewhere nice:

cpan -g ExtUtils::CBuilder

This gets the module and puts it in the current directory.

Celebrate Intellectual Diversity

  • Comment on Re: Mirroring CPAN by inclusion declaration rather than by exclusion
  • Download Code

Replies are listed 'Best First'.
Re^2: Mirroring CPAN by inclusion declaration rather than by exclusion
by Intrepid (Curate) on Nov 12, 2024 at 04:23 UTC

    That's a good suggestion, thanks. The one detail that makes a difference lies in whether you know all the modules you are interested in, in advance. Using my way creates a nice minimini-cpan of all ExtUtils:: even ones I did not know existed. I can now use perldoc and peruse them at my leisure.

    Nov 12, 2024 at 04:21 UTC
    Intrepid
      Is there a reason not to use the MetaCPAN website for this?

        No, no good reason. Metacpan is a great resource and its search capabilities are basically all one would ordinarily want. See my other replies above.

        Nov 14, 2024 at 23:38 UTC