Perl Module Installer
Perl modules are collections of functions that allow you to perform tasks in
Perl. You will need to install a Perl module before you can use it inside a Perl
program.
Note: Modules are installed directly from the CPAN
repository.
Location of Your Perl Module(s)
Path: /home/demoweb/prl
Using Your Perl Module(s)
You will need to add /home/demoweb/prl to the
include path.
You can do this by adding the following code to your script:
my $homedir = (getpwuid($>))[7];
my $n_inc = scalar @INC;
for (my $i = 0; $i < $n_inc; $i++ ) {
if (-d $homedir . '/perl' . $INC[$i]) {
unshift(@INC,$homedir . '/perl' . $INC[$i]);
$n_inc++;
$i++;
}
}
Find a Perl Module
| or |
Install a Perl Module
Installed Perl Module(s)
| Module Name | Version | Actions |
|---|