Perl Basics
Introduction to Perl
FAQ's
CGI
Regular Expressions

PC Overview
Cool Stuff
My Modules
Success Stories
Links
Perl in the News
Logos
Perl @ msn
Perl Chat

PC Internals
About
Contact
Guest Book
Handy Logos
What's new

How do I install from CPAN?

How do I install a CPAN module?
See also Perl.org
P-friendly

[ home ] - [ search ] - [ sitemap ]

The easiest way is to have the CPAN module do it for you. This module comes with perl version 5.004 and later. To manually install the CPAN module, or any well-behaved CPAN module for that matter, follow these steps:

   1.Unpack the source into a temporary area. 

   2.    perl Makefile.PL

   3.    make

   4.    make test

   5.    make install

If your version of perl is compiled without dynamic loading, then you just need to replace step 3 (make) with make perl and you will get a new perl binary with your extension linked in.

See MakeMaker for more details on building extensions.

home - feedback - search - web jobs
© 1998-2004 retoh :)