[Melbourne-pm] CPAN module

Scott Penrose scottp at dd.com.au
Wed Mar 15 01:27:15 PST 2006

Thank-you Geoff,  this is exactly what I was looking for.
> You wouldn't happen to know how to setup a local CPAN mirror?
> Note that I only need to inject some specific packages, so it would  
> be nice to not have to sync every other package which is available  
> from a normal CPAN mirror.

OK you can do this by CPAN modules.

But remember - you will STILL need to have special versions or names  
(just like you do in Debian) - all package systems try and install  
the newest version, so you will have to choose a version number that  
is always greater than the CPAN version.

All you have to do is set 'urllist' to two URLs, where yours is  
probably first. This is common when you want to install from CDRom  
and remotely.

This is well documented in "perldoc CPAN"

You can do it interactively by typing:
	"conf urllist push file://localhost/CDROM/CPAN"

Alternatively you can use CPAN::Mini - to create a minimal mirror of  

CPAN::Site - is almost exactly what you want - although I am not sure  
if it has not already been replaced by bits of CPAN generally.
	"This module virtually adds site specific modules to CPAN. The  
general idea is to have a local (pseudo) CPAN server which is asked  

More info on all of the above is on CPAN (The archive, not the  
module) :-)

* - *  http://www.osdc.com.au - Open Source Developers Conference * - *
Scott Penrose
Open source developer
scottp at dd.com.au

Dismaimer: Open sauce usually ends up never coming out (of the bottle).

Please do not send me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html

Microsoft is not the answer. It's the question. And the answer is no.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.pm.org/pipermail/melbourne-pm/attachments/20060315/15434c0b/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://mail.pm.org/pipermail/melbourne-pm/attachments/20060315/15434c0b/PGP.bin

More information about the Melbourne-pm mailing list