User Tools

Site Tools


This is an old revision of the document!

Perl tips

Installing mod_perl


Enter the perl CPAN shell:

  • perl -MCPAN -e shell

List installed module versions:

  • perl -MCPAN -e 'CPAN::Shell->r'

List installed module versions (from inside the shell):

  • r

Living with CPAN


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:
# rpm -Uvh ~alan/cpan2rpm-2.028-1.noarch.rpm
perl.1253173755.txt.gz · Last modified: 2010/05/22 14:19 (external edit)