Friday, December 14, 2012
How To Install Perl Modules Manually on linux
I recently try out perl script which is used to test download speed. when I run that script it gives me the following error saying that can’t locate Perl module called Time::Format .
Can't locate Time/Format.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 ... )....
Solution for this error is install the perl module, in this case by installing the Time::Format perl module. below is most required steps to install any perl module.
[1] switch to root and launch the CPAN using following command
[root@localhost ~]# perl -MCPAN -e shell
[2] type the module name according to below format, in this example I’m going to install Time::Format perl module.
cpan[1]> install Time::Format
[3] that’s all !! . now run your perl script again :)
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment