in reply to Re: perl can't find my modules
in thread perl can't find my modules

To be complete, a popular way to do this is to make a 'wrapper' for perl. Usually this is a shell script. Move perl out of the way, and replace it with a script similar to this:

#!/bin/sh #Wrapper to set perl env variables export PERL5LIB=/path/to/modules /path/to/where/perl/really/is/perl

Make sure the script is called perl and has the right permissions (chmod a=rx). This is a very convenient way to tweak the environment for scripts before they run.

____________________
Jeremy
I didn't believe in evil until I dated it.