On Fri, 29 Apr 2005, Florian Effenberger wrote:

Hi Dave,

use lib "/my/perl_directory/lib/site_perl";

 or sometimes you can just say:

use "/my/perl_directory";

is it enough to add it to Makefile.PL, or do I need to add it to every single SpamAssassin .PL file?



No, The "use" construct tells perl to look elsewhere for libraries when running. All of the above assumes you're installing the modules somewhere other than where the system would normally look for it. eg You don't have root access so installed the modules in your home directory. You still obviously have to build and install the modules (as defined in the perl install docs), just not into system space.


=-=-=-=-=-=-=-=-=-=- generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-= David Stern University of Maryland Institute for Advanced Computer Studies

Reply via email to