in reply to Local CPAN help
Looking at the section on config variables, it appears maybe the makepl_arg and mbuild_install_arg variables may be the ones you wish to set. (I haven't tried them myself, but those two are described as arguments passed to perl Makefile.PL and ./Build install, respectively.) So likely the following would be used:
$CPAN::Config = { # ...possibly other options... 'makepl_arg' => q[INSTALL_BASE=/opt/local], 'mbuild_install_arg => q[--install_base /opt/local], # ...possibly other options... }; 1;
HTH.
Updated (2008-09-13): changed single-quotes to q regexp quote-like operator (as found in my local CPAN/Config.pm).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Local CPAN help
by wrinkles (Pilgrim) on Sep 14, 2008 at 08:34 UTC |