I was going to use
CPAN::Mini::Inject for a current project, but decided that for our needs we would use a hacked version of the
mkpackages script that comes with
CPAN::Site (I submitted the more general changes I made to the author) - the
mkpackages script walks through your local CPAN repository and builds the
02packages.details.txt.gz file, and extracts README's from the
*.tar.gz files and creates the
*.readme files in your local repository. This script does
not fill in author info - it creates an empty
01mailrc.txt.gz if one doesn't exist.
In my hacked
mkpackages script I use the
CPAN::Checksums module to create the
CHECKSUMS files - I wanted a script that I could point at our local CPAN repository and have it build the entire
02packages.details.txt.gz file and all the
CHECKSUMS files based on whatever is in our local repository at that time.
In order to add specific version of CPAN modules to our local repository I wrote a separate
fetch_and_inject.pl script that takes a CPAN file name, or list of names, e.g.
S/SS/SSORICHE/CPAN-Mini-Inject-0.18.tar.gz
and goes and fetches that specific file from a public CPAN repository, and puts it in our local repository, creating the authorid subdirectories if needed.
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.