Subject: | [ton.voon@altinity.com: CPAN::Mini enhancement] |
Date: | Tue, 23 Jan 2007 12:38:38 -0500 |
To: | bug-cpan-mini [...] rt.cpan.org |
From: | Ricardo SIGNES <rjbs [...] cpan.org> |
----- Forwarded message from Ton Voon <ton.voon@altinity.com> -----
From: Ton Voon <ton.voon@altinity.com>
To: rjbs@cpan.org
Date: Tue, 23 Jan 2007 17:01:47 +0000
Subject: CPAN::Mini enhancement
Hi Ricardo!
Thanks very much for CPAN::Mini - it's a great piece of code.
Please can you consider the following patch. It adds in a new method
called "cut". The idea is that it will cut the current version of the
minicpan with a "release name" and will hard link all the modules
inside. This allows a way of installing a specific set of modules for
a given release. You can then refer to the specific minicpan release
with http://minicpan/{release_name}.
I've also introduced a new helper method called _merge_args. This is
because I use CPAN::Mini::Inject to run command line options, but I
get an error if remote is not defined. However, the cut method
doesn't require remote and this saves a LWP request to the remote
server.
Ton
http://www.altinity.com
T: +44 (0)870 787 9243
F: +44 (0)845 280 1725
Skype: tonvoon
???
Show quoted text
----- End forwarded message -----