On Wed, 5 Nov 2003 15:26:55 +0100 (CET), Tom Kuppens <[EMAIL PROTECTED]> posted to spamassassin-talk: > I just installed spamassassin 2.60 and everything worked fine. However I > to get spamassassin running I need the perl HTML parser 3.24 (or older) > and on the machine I'm using (and I'm not root and root is not cooperating > on installing a newer version) 3.21 is installed. Is there a way to work > around this problem i.e. to point explicitly to the newer version of > Parser.pm (in my pricate files) instead of using the installed one.
You can set up the environment variable PERL5LIB to point to your private library. Depending on what platform you're on and how you are invoking SpamAssassin, this would look more or less like PERL5LIB=$HOME/my/lib:$HOME/my/other/lib/too export PERL5LIB path/to/spamassassin -options This is the generic technique for using your own libraries with Perl. Look in the Perl documentation for more instructions if you need them. (For completeness, you could also change SpamAssassin to either change @INC at BEGIN{} time or, preferrably, use lib "path/to/your/lib";.) Hope this helps, /* era */ -- The email address era the contact information Just for kicks, imagine at iki dot fi is heavily link on my home page at what it's like to get spam filtered. If you <http://www.iki.fi/era/> 500 pieces of spam for want to reach me, see instead. each wanted message. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk