CPAN Archives

How to set-up your own CPAN mirror

Are you a sysadmin and you're running servers with a lot of Perl code and Perl modules installed? You are a Perl hacker, who wish to access the complete CPAN repository on his notebook even when not connected to the internet?

Why not set-up your own CPAN-Mirror then? It's really easy.

Perl6::Junction

Today I'd like to introduce you a Perl module I really like and use a lot in my code. It's called Perl6::Junction and you can get it from CPAN.

Please have a look what it can do for you.

How to install Perl Modules from CPAN in the Unix user-space

If you're a sysadmin or if you run a Perl software development environment, you might want to give your users or developers the possibility to install Perl modules from CPAN into their private user-space. This could be helpful for trying out new modules or playing around with modules that might be used in production at a later time. Or, if a developer wants to test a new version of a module without overwriting the system-wide installed version of that module.

Here is a step by step instruction how you could set-up user-space CPAN support.

How to install a Perl Module from CPAN

Developers and admins who are new to Perl might wonder how they can install one of the 18.000 available Perl Modules from http://search.cpan.org.

One of the many ways to do this is to call the CPAN shell from the Unix command line, like so:

cpan Modern::Perl

You could also go and give the cpan command a list of modules that you like to install:

cpan Modern::Perl DBI YAML JSON::XS

However, if you just type in "cpan" you…

About Marc

user-pic I am a Perl developer and CPAN author. I develop software with Perl since 1996 and Perl is still one of my favorite programing languages.