in reply to Problem with search path and CPAN install
To tell the Perl process that you should also look in that directory for existing modules, it's just like telling any other Perl program:
#!/usr/bin/perl use lib "/path/to/extra/lib"; use CPAN; shell;
(for csh-style): PERL5LIB=~/lib export PERL5LIB perl -MCPAN -eshell (for bourne-shell-style): PERL5LIB=~/lib perl -MCPAN -eshell
-- Randal L. Schwartz, Perl hacker
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: •Re: Problem with search path and CPAN install
by DearHeart (Initiate) on Aug 22, 2002 at 18:25 UTC |