User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
perl [2009/09/17 07:29]
perl [2010/05/22 14:19] (current)
Line 13: Line 13:
 List installed module versions (from inside the shell): List installed module versions (from inside the shell):
   * <code>r</code>   * <code>r</code>
 +Reconfigure cpan
 +  * <code>perl -MCPAN -e 'o conf init'</code>
 ==== Living with CPAN ==== ==== Living with CPAN ====
 Good tips on using CPAN: Good tips on using CPAN:
 +You can reconfigure CPAN completely by using 'o conf init' at the cpan
 +prompt. Or you can configure a single option with o conf followed by the
 +option and the values you want to set. Then use 'o conf commit' to save
 +the changes permenantly. Entering just 'o conf' will show the current
 +=== Installing modules in other paths ===
 +=== cpan2rpm ===
 +Installing through CPAN is dangerous because it doesn't have an uninstall command and modules you install are not registered in a package manager (and therefore can only be removed manually).  Use ''cpan2rpm'' to create RPMs from CPAN modules:
 +  * Install:
 +<code># rpm -Uvh ~alan/cpan2rpm-2.028-1.noarch.rpm</code>
perl.1253172574.txt.gz · Last modified: 2010/05/22 14:19 (external edit)