FutureQuest, Inc. FutureQuest, Inc. FutureQuest, Inc.
Knowledgebase: CGI/Perl
Perl module installed?
Posted on 30 January 2004 09:03 PM
Question:

How do I know if the perl module I need is installed? If it's not installed can you install it for me?

Answer:

To see if a module is installed, connect via SSH to your account and type:

perl -Mmodule -e '{1}'
(where "module" is the name of the module)

Note: This IS CaSe Sensitive. If you do not type it exactly as it is titled, this method will not return accurate results. For example, if you are trying to see if Date::Calc is installed you would type:

perl -MDate::Calc -e '{1}'

If you type perl -Mdate::calc -e '{1}' it will not return accurate results because the D and C were not capitalized as they should be.

If you see error messages, the module is not installed. If you get no output, the module is installed.

If the module you would like to use is not installed, contact us and let us know exactly what you would like as well as describing why you would like it to be installed.

To submit your request, please send an email to Service@FutureQuest.net from the primary email address on the account. Along with specifying the above information, please include the domain name and/or server that the account resides on in your request so that we can be sure we are looking at the correct server.

FutureQuest may, in some situations, request that you do a local installation of a perl module when you do not anticipate requiring this module for any length of time and/or it is determined that this module will not be required by at least 10 or more accounts on that server.

Although FutureQuest cannot provide direct support for the installation procedure, one of the FutureQuest Site Owners has written an excellent tutorial regarding this process, which also has additional suggestions provided by the sysAdmin:
http://www.FutureQuest.net/forums/showthread.php?s=&threadid=9656

Additional resources can be found at this location:
http://dmoz.org/Computers/Programming/Languages/Perl/Modules/