in reply to Perl library include path

Doesn't the path continue with the version number?

You can add the path to your scripts:

use lib '/usr/lib/perl5/vendor_perl/5.10';

Setting the $PERL5LIB environment variable is another option, but I'm not sure it's available for nobody. It might be configurable via the web server, e.g. in Apache, you'd add something like the following to the .htacces:

SetEnv PERL5LIB /usr/lib/perl5/vendor_perl/5.10
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Replies are listed 'Best First'.
Re^2: Perl library include path
by Anonymous Monk on Jun 12, 2014 at 14:31 UTC
    Thanks for the response.

    What you have suggested would mean that I would have to add the 'use' part to a fair number of scripts (which I may do if I have no other option).

    I am looking into the Apache option if that is something I can do.

      You should fix the underlying problem. See my other posts above.