Re: testing CPAN-ability without CPAN?
[email protected] ((Andreas J. Koenig))
| Newsgroups | perl.cpan.discuss |
|---|---|
| Message-ID | <[email protected]> |
>>>>> On Tue, 20 Dec 2005 08:20:38 +0100, Thomas Klausner <[email protected]> said: > Hi! > On Mon, Dec 19, 2005 at 02:59:22PM -0800, Tyler MacDonald wrote: >> > - Use "CPAN::Mini" to create a local CPAN mirror quasy on the fly. >> >> The problem there is that it mirrors all of CPAN. A lot of >> bandwidth, not exactly a reuseable trick, unless CPAN::Mini has an option to >> mirror only packages X and Y, and all packages that depend on them? > Take a look at the 'path_filters' and 'module_filters' options of > CPAN::Mini. While they do not allow what you're after, they might be a > start. If you use CPAN.pm it maintains your own mini-cpan mirror under ~/.cpan/sources. So if you regularly do perl -MCPAN -e 'CPAN::Shell->install("My::Favorite","Modules")' then you have what you want. If you do not want to install it, use "make" instead. -- andreas