|more useful options|
Building a local 'ppm' repository (Windows)by LittleGreyCat (Scribe)
|on Jul 05, 2006 at 10:35 UTC||Need Help??|
LittleGreyCat has asked for the wisdom of the Perl Monks concerning the following question:
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:
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.
Can any worthy Monk shed light on this curious situation?