Re: testing CPAN-ability without CPAN?

[email protected] (Steffen Mueller)
Newsgroups perl.cpan.discuss
Message-ID <[email protected]>
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?

Aside from the suggestion from Thomas Klausner, you could subclass 
CPAN::Mini to do just that. Add Module::Dependency and you should get 
the system up and running rather quickly. I fact, it would probably be a 
really good idea to make the result availlable on CPAN as 
CPAN::Mini::Something. (Ask the modules list for a good namespace choice 
or #perl or Ricardo Signes, the author of CPAN::Mini.)

Steffen
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.