how to list/install perl modules
I'm running Fedora core 2 and am thinking of running qmail...the qmail installation says to make sure that the following perl mods are installed:
How do I get a list of the ones installed and if they arnt how would I installed them? are there any docs u can recommend?
I tried the following command:
Can't open perl script "Digest::SHA1": No such file or directory
Does this mean its not installed?
A quick Google found this page http://www.tek-tips.com/viewthread.cfm?qid=898931 with info about listing installed Perl modules.
You can also do perl -M<module> -e 'print "blah\n"'
to test if a module is installed (you'll get an error if it isn't, and blah if it is). You need to use the -M option to specify a module on the command line.
The easiest way to install a module is through the CPAN shell. Type perl -MCPAN -e shell and you'll get a nice shell that will walk you through automatically installing things from CPAN. Note you should set your LANG environment variable to C before doing this, or you'll get all sorts of weird errors during module compilation (RH/Fedora seems to use a default character set that Perl has trouble dealing with).
|All times are GMT -5. The time now is 09:06 PM.|