Leaderboard (728 x 90)

Tuesday, August 3, 2010

how to install perl module

method 1:

run command

perl -MCPAN -e 'install Module::Name'

or run

perl -MCPAN -e 'shell'

then enter these command
# install Module::Name

Module::Name is name of module which need to install

method 2:

download module source code you need to install

- extract source code archive (untar and unzip)
- change directory to source code path
- run these commands.
# perl MakeFile.PL
# make
# make test
# make install

No comments:

Post a Comment