* Sherm Pendley <[EMAIL PROTECTED]>
> A finer-grained method, supported by Perl 5.8.x and newer, is to use
> the "DESTDIR" option when installing. You need to download and build
> the modules by hand, beginning with the normal recipe - "perl
> Makefile.PL; make; make test".

There is no need to hand install modules. Using the CPAN module, the
DESTDIR option can be set as a 'make_install_arg' argument in the CPAN
configuration file, for example:

$ grep DESTDIR ~/.cpan/CPAN/MyConfig.pm
  'make_install_arg' => q[DESTDIR=/var/tmp],

However! With modules being installed under /var/tmp/<PREFIX>, building
prerequisite modules will be tricky, unless these modules are first
installed onto the system, or @INC updated to include the custom
install path.

Reply via email to