Isn't it PERL_PREFIX?

On 6/24/06, JupiterHost.Net <[EMAIL PROTECTED]> wrote:
Howdy all :)

I've a plugin installer that installs certain Perl modules:

This is what it uses,

  CPAN::Shell->expand('Module', $module_name)->install();

which works fine as long as root is running it.

What I'd like to do is install the modules as an unprivileged user into
/home/$user/perl

I tried setting $ENV{'PREFIX'}, $ENV{'PERL5LIB'}, to no avail.

Any one have any ideas if that can be done codewise without reverting to
a shell command

(
  a) I want to use a module not shell out a command
  b) I want to use CPAN so it follows dependencies instead of
Makefile.PL  -> make etc etc

Any insight into what I've missed would be absolutely excellent :)

TIA!

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>





--
Anthony Ettinger
Signature: http://chovy.dyndns.org/hcard.html

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to