Showing posts with label CPAN. Show all posts
Showing posts with label CPAN. Show all posts

Tuesday 9 April 2013

How to install Perl modules using CPAN

To install additional Perl modules found in CPAN, but not in yum, you can download Perl-CPAN package. Lets say you need a Perl module call "Time::HiRes". You can do this.

[root@localhost ~]# yum install perl-CPAN
[root@localhost ~]# cpan
Terminal does not support AddHistory.
cpan shell -- CPAN exploration and modules installation (v1.9800)
Enter 'h' for help.
cpan[1]> install Time::HiRes

search iomeweekly