Ok, here's a brief description of how to install a Perl library manually in
case you aren't blessed with precompiled packages or you want to
upgrade to the latest version. A more detailed description can be found
when you type the following command:
perldoc CPAN
or visit CPAN.
Perl comes with a module that guides you through the installation of any
package available through CPAN. It can be used interactively or in batch
mode. We use interactive mode. Type:
perl -MCPAN -e shell
If you use CPAN for the first time, you'll be asked a bunch of questions
that ensure a proper configuration.
In interactive mode, you'll see a prompt ("cpan> ").
Now type install <packagename> and watch the magic ;-).
When asked if you want to also install other packages your package depends
on, chose yes for automatic installation.
|