in reply to Problem with search path and CPAN install

The Perl that invokes CPAN.pm won't know to look in your local directory, because you haven't told it to look there. You've told it to install new things there, but that's an unrelated setting.

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:

But in summary, it's the same steps you'll need to do to all your local programs, because the Perl CPAN installer is just another Perl program!

-- 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
    Thanks Randal, I've got some digesting to do! Just beats me how I managed to install the other packages yesterday? e.g.
    use Net::POP3; use MIME::QuotedPrint; use MIME::Parser; use DBI; use URI::Escape; use XML::Simple; use Data::Dumper; use Mail::Sender; use MIME::Lite; use MIME::Lite::HTML;

    Quite a few of them had dependencies, then I would install those and then re-install would work? It takes a really (Perl) newbie to confuse a hacker!