in reply to Re^2: path issues? installed module not found
in thread path issues? installed module not found

aeolus (/vol0/homes/person/progs)$ /usr/bin/perl -v
Run which perl instead (will tell you the perl binary you're actually using).

Replies are listed 'Best First'.
Re^4: path issues? installed module not found
by BaldManTom (Friar) on Mar 07, 2008 at 21:21 UTC

    Agreed. If the default perl on your path is different from /usr/bin/perl, that'd be why your script can't find the module you've installed. You then could either a) update your script to point to the version of perl that your shell is already using, or b) install your module for the version of perl that your script is using. Either way could be correct, I suppose, depending on your scripts needs.

    You might also be able to do something like: #! /usr/bin/env perl to run your script with whatever perl your shell would use by default, but that way might lie madness...

      FWIW: it does appear to have been a version issue. Since we're updated via RH we're still on 5.8.5. I asked the techies to install 5.8.8 in a new path and everything seems to have settled in nicely there.