G'day All,

I have a $work task to investigate ways of collecting our private Perl modules into something akin to CPAN. There were a number of potential solutions suggested; after investigating these, I've decided that a DarkPAN best suits our needs. The DarkPAN solution is the focus of this post.

I was already aware of search.cpan.org's end of life. During my research, I encounted other out-of-date elements; for instance, the API link, at the top of MetaCPAN pages, leads to a "YAPC video" which discusses MetaCPAN::API; however, that module's documentation is very clear (using large, bold, block capitals) that it is deprecated and indicates that MetaCPAN::Client should be used instead. There may other similar things of which I'm not aware: if anything that follows is considered outdated, deprecated or superceded, I'd appreciate feedback.

For the DarkPAN itself, I'm looking at CPAN::Dark (that's a GitHub link, I can't find it under MetaCPAN). I have some minimal experience with its dependent modules, CPAN::Mini and CPAN::Mini::Inject. Unless I hear otherwise, I think that should handle the setting up part: I'm not seeing any downside to this. I'm aware that tools such as the cpan utility will require configuration; again, this shouldn't present any problems.

To search and browse the DarkPAN, I've been looking at CPAN::Mini::Webserver. I'm not completely sold on this which may be due to a lack of documentation rather than a lack of functionality. This may require delving into the source code to find out how to do things. Any suggestions for alternatives would be appreciated.

— Ken


In reply to Setting up and accessing a DarkPAN by kcott

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.