Following on (because I have seen other similar queries) from Installing CPAN modules without using 'ppm' I concluded that CPAN and Windows don't mix so I needed a local 'ppm' repository:

I was pointed to http://aspn.activestate.com/ASPN/Downloads/ActivePerl/PPM/Zips

I used a download manager to download all the ZIP archives intending to unzip them in one massive WinZip exercise and create my own offline repository.

For some obscure reason:
. the ZIP files available from the ActiveState site are version numbered
. the 'tar.gz' files within the ZIP are version numbered
. the 'ppd' files within the ZIP are NOT version numbered.

e.g.
ABI.zip contains
. ABI.ppd
. ABI.tar.gz

ABI-0.01.zip contains
. ABI.ppd
. ABI-0.01.tar.gz

Because both versions have the same name for the 'ppd' file you can't just download all the ZIP files then unzip them to create your repository. (Been there, done that, no T shirt)

I ended up having to write a Perl ditty to unzip each archive to a work area and rename the 'ppd' file to match the 'zip' file name before adding it to the repository.

Oh, and I had to get '7-zip' to be able to unzip from the command line.

All in all, what should have been a download and a quick unzip turned into a major exercise.
I still have **NO IDEA** why the 'ppd' files are not version numbered.

Can any worthy Monk shed light on this curious situation?
Or perhaps point me to a consolidated 'ppm' archive (which I have so far failed to find).


In reply to Building a local 'ppm' repository (Windows) by LittleGreyCat

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.