PerlModules

Last edit

Summary: g

Changed:

< CPAN module installer:
< cpan App::cpanminus
< To
install a module:
< cpanm
Module::Name
< to uninstall
< cpanm --
uninstall Module::Name

to

> Common commands
> install Module::Name
> uninstall Module::Name
> upgrade

Changed:

< As of mid 2005, the Perl which installs with pkg-get was compiled with the Forte compiler which most people don't have; if you add modules with CPAN which need to be compiled.

to

> The Perl which installs with pkg-get was compiled with the Forte compiler which most people don't have; if you add modules with CPAN which need to be compiled.


The shell

 perl -MCPAN -e shell

Common commands

 install Module::Name
 uninstall Module::Name
 upgrade

To reinitialize CPAN's configuration:

 o conf init

The Perl which installs with pkg-get was compiled with the Forte compiler which most people don't have; if you add modules with CPAN which need to be compiled.

Following directions here:

Or you can manually make with something like:

 perl -cc=gcc Makefile.pl

Perl modules we need: