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>