DirectAdmin & Perl

lacrimos

Verified User
Joined
Aug 4, 2006
Messages
22
edited!edited!edited!edited!edited!edited!edited!edited!edited!edited!edited!edited!edited!edited!edited!
 
Last edited:
php, perl, mysql...all come with DA
LWPand Fcntl ...seems are not installed by default. but you can simply install them manually using cpan
 
edited!edited!edited!edited!edited!edited!edited!edited!edited!edited!edited!edited!edited!
 
Last edited:
http://www.cpan.org

What is CPAN?
CPAN is the Comprehensive Perl Archive Network, a large collection of Perl software and documentation. You can begin exploring from either http://www.cpan.org/, http://www.perl.com/CPAN/ or any of the mirrors listed at http://www.cpan.org/SITES.html and http://mirror.cpan.org/.

Note that CPAN is also the name of a Perl module, CPAN.pm, which is used to download and install Perl software from the CPAN archive. This FAQ covers only a little about the CPAN module and you may find the documentation for it by using perldoc CPAN via the command line or on the web at http://search.cpan.org/author/JHI/perl-5.8.0/lib/CPAN.pm
 
edited!edited!edited!edited!edited!edited!edited!
 
Last edited:
edited!edited!edited!edited!edited!edited!edited!edited!edited!edited!edited!edited!edited!edited!edited!edited!edited!edited!edited!edited!
 
Last edited:
"What Gets Installed" means what will be installed together with DA...or just say what will be bundled with DA
 
edited!edited!edited!edited!edited!edited!edited!edited!edited!edited!edited!edited!edited!edited!edited!edited!edited!
 
Last edited:
edited!edited!edited!edited!edited!edited!edited!edited!edited!edited!edited!edited!edited!edited!edited!edited!
 
Last edited:
I use CPAN to install all my perl modules. It's not the only way to do it but it's a standard way for a lot of perl users.

To fire up CPAN go to the command line and enter:

perl -MCPAN -eshell

You'll then be asked to config. hitting return after each question is safe but you'll probably want to answer the bits about where you are so that you can pick servers near to you to get the perl files from.

CPAN does the installing of the modules for you just enter

install LWP

and off it'll go and install it for you.

If you're not logged in as root it may fail as it won't necessarily have permission to do the install part.

CPAN is particularly good because it will ask you if you want to install any modules that are missing that you need to install the module you're currently installing (dependencies) I seem to recall LWP does have some but they may already be there.

I'll keep an eye on the forum so post if you hit any problems. I run FreeBSD rather than Debian but I've used CPAN on FreeBSD, Redhat and OSX all happily most of the time. Sometimes a module won't install and if that happens you have to do it manually.

This may help if that happens:

http://search.cpan.org/~jhi/perl-5.8.0/pod/perlmodinstall.pod

It seems a lot of DA's features are PHP (webmail for example). I'm not sure going the DA route was the right one for me as I'm a mod_perl developer. So I shall be keeping an eye out for people suffering perl problems (at least while I'm still using DA)
 
edited!edited!edited!edited!edited!edited!edited!
 
Last edited:
Back
Top