Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p><strong>On Unix</strong>:</p> <p>usually you start <em>cpan</em> in your shell:</p> <p><code># cpan</code></p> <p>and type</p> <p><code>install Chocolate::Belgian</code></p> <p>or in short form:</p> <p><code>cpan Chocolate::Belgian</code></p> <p><strong>On Windows</strong>:</p> <blockquote> <p>If you're using ActivePerl on Windows, the <a href="http://docs.activestate.com/activeperl/5.10/faq/ActivePerl-faq2.html#pkg_operations" rel="noreferrer">PPM (Perl Package Manager)</a> has much of the same functionality as CPAN.pm.</p> </blockquote> <p>Example:</p> <p><code># ppm</code><br/> <code>ppm&gt; search net-smtp</code><br/> <code>ppm&gt; install Net-SMTP-Multipart</code></p> <p><strong>see <a href="http://www.cpan.org/misc/cpan-faq.html#How_install_Perl_modules" rel="noreferrer">How do I install Perl modules?</a> in the CPAN FAQ</strong></p> <p>Many distributions ship a lot of perl modules as packages.</p> <ul> <li>Gentoo: category <a href="http://www.gentoo-portage.com/dev-perl" rel="noreferrer"><strong>dev-perl</strong></a></li> <li>Debian: <code>apt-cache search 'perl$'</code></li> </ul> <p>You should <em>always</em> prefer them as you benefit from automatic (security) <strong>updates</strong> and the ease of <strong>removal</strong>. This can be pretty tricky with the <em>cpan</em> tool itself.</p> <p>For Gentoo there's a nice tool called <strong><a href="http://www.gentoo-portage.com/dev-perl" rel="noreferrer">g-cpan</a></strong> which builds/installs the module from CPAN and creates a Gentoo package (<a href="http://www.gentoo.org/proj/en/perl/g-cpan.xml" rel="noreferrer">ebuild</a>) for you.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload