in reply to Error during manual local module install

I believe you haven't set your PERL5LIB variable correctly. Assuming your home directory is /home/me, you'll need to set your PERL5LIB environment variable to /home/me/perl_mods/lib/site_perl/5.8.4. You may also have to include the architecture-specific directory, even though the perlrun man page says it searches them automatically. If so, set the variable to /home/me/perl_mods/lib/site_perl/5.8.4:/home/me/perl_mods/lib/site_perl/5.8.4/sun4-solaris-64int.

Try that and see if it works.

After you set it, you can run perl -V and see if it's picked up the change. Look in the @INC: section to see if it shows your new directory.

Replies are listed 'Best First'.
Re^2: Error during manual local module install
by madorb (Novice) on Jul 23, 2009 at 00:02 UTC
    That did it, i'm still a bit confused as to the level and where/why modules end up in either
    ~perl_mods/lib/site_perl/ or
    ~perl_mods/lib/site_perl/5.8.4/sun4-solaris-64int or
    ~perl_mods/lib/sun4-solaris-64int

    How is it determine WHERE a module lives?
      It really doesn't matter. If you use PREFIX=~perlmods , then you have PERL5LIB=~perlmods you might have to expand the ~ yourself, but that is all you have to do. Perl takes care of the rest.