Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 38 lines (28 sloc) 0.863 kb
# This script is included in this distribution for the benefit
# of those users who cannot use MakeMaker and make to install.
# Run this script with
# perl install-nomake [-s <directory>]
# -s Install into this directory instead of the system site_lib
# (This directory must already exist)
eval 'exec perl -x -S $0 ${1+"$@"}'
if $running_under_some_shell;
#! -*- perl -*-
use Config;
use File::Spec;
use Getopt::Long;
use ExtUtils::Install qw(install);
my $sitelib = $Config{'sitelibexp'};
'sitelib=s' => \$sitelib
die "$sitelib is not a directory: $!"
unless -d $sitelib;
my $src = File::Spec->catdir(File::Spec->curdir, 'lib');
die "This script must be run from the perl-ldap distribution directory: $!\n"
unless -f File::Spec->catfile($src, qw(Net;
install( { $src => $sitelib }, 1,0,0);
Jump to Line
Something went wrong with that request. Please try again.