Differences

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

Link to this comparison view

internal:perl:cpan [2011/03/20 15:37]
solar add the main /home/.../perl/lib/perl5 directory to the include path before the site_perl subdirectory; set PERL5OPT for the CPAN shell invocation
internal:perl:cpan [2013/11/03 03:21] (current)
solar update for new CPAN shell
Line 9: Line 9:
 You may have to type ''​perl -MCPAN -e shell''​ instead of ''​cpan''​ on some systems other than [[http://​www.openwall.com/​Owl/​|Owl]]. You may have to type ''​perl -MCPAN -e shell''​ instead of ''​cpan''​ on some systems other than [[http://​www.openwall.com/​Owl/​|Owl]].
  
-In response to the appropriate prompt, enter ''​PREFIX=~/​perl''​.+In response to the appropriate prompt, enter ''​PREFIX=~/​perl''​. ​ ​Update:​ with recent versions of the CPAN shell, this prompt no longer appears by default. ​ To make it appear (along with lots of other prompts), answer ''​no''​ to ''​Would you like to configure as much as possible automatically?'' ​ Alternatively,​ exit the CPAN shell after initial configuration is done and edit ''​.cpan/​CPAN/​MyConfig.pm''​ to set: 
 + 
 +  '​makepl_arg'​ => q[PREFIX=~/​perl],​
  
 Once in the CPAN shell, type ''​install MODULE'',​ where MODULE is the name of the module to install. Once in the CPAN shell, type ''​install MODULE'',​ where MODULE is the name of the module to install.
internal/perl/cpan.txt · Last modified: 2013/11/03 03:21 by solar
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate to DokuWiki Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki Powered by OpenVZ Powered by Openwall GNU/*/Linux