Tuesday, November 14, 2006

Perl : Installing CPAN modules

This post if for those who find it hard or don't know how to install CPAN modules.

1 Become root

2. Run

perl -MCPAN -e shell


First time you run this command, you'll be asked some questions regarding where to download/extract files etc. Just select the defaults.

3. This opens the cpan prompt. Now, run

install Module::Name

That's all you have to do. Isn't this really simple ?

No comments: