Skip navigation.
Home
Your source for Perl tips, howto's, faq and tutorials

reconfigure CPAN module preferences

( categories: )

The first time you use the Perl module CPAN, a script is executed in order to properly configure several options (like the location of tar, gzip and unzip files, the cache size for the build directory, etc).

If you want to modify these configuration options at a later time, you can do it in 2 ways:

- Manually, modifying the configuration files

You can either modify the user-specific file (usually ~/.cpan/CPAN/MyConfig.pm) or the system-wide configuration file (stored somewhere in the perl module directory tree, look for a directory named CPAN that holds a file named Config.pm)


what is CPAN?

( categories: )

CPAN (an acronym for Comprehensive Perl Archive Network) is a large collection of free Perl software and documentation.

One important feature is that all CPAN modules are free of charge, shareware or commercial modules are not allowed in the archive.

The url is http://www.cpan.org; you will find there most of the modules that are available on the net.

If you want to search for a specific module, go to http://search.cpan.org

To report a bug in a module or view the list of bugs, go to http://rt.cpan.org

There are 2 methods to install a module from CPAN:

  1. Download the "tarball" file and manually uncompress, build and install the module

Syndicate content