Perl modules
DreamHost has nearly all the common Perl modules installed, as well as many uncommon ones.
Contents |
Checking for modules
Checking for a specific module
To check whether a Perl module is installed on DreamHost's servers, first log into your shell account, then type the following:
perl -MThe::Module::Name -e0
Where The::Module::Name is, obviously enough, the name of the Perl module you are looking for.
Note: the command (apparently) outputs nothing when the module is found, and an error otherwise.
Checking for all modules
To check which modules are installed (and which works on all DH servers) is to download and install the excellent perldiver cgi script. This is a free script that not only shows you installed modules, but also provides details of the module version, documentation and CPAN links, and a plethora of additional information about a given perl installation.
Installing custom modules
You can install your own modules in your home directory directly. Follow these Dreamhost specific instructions for installing CPAN modules.