Problem with missing module

Problem with missing module

am 26.10.2009 14:24:01 von Eric Robertson

I'm running Perl on a MacBook and I'm having a problem with Perl not
picking up a module, DBD-CSV, in a CGI script that I'm using. It has
worked all right in the past and I think this problem has only
occurred since I upgraded to Snow Leopard (OS X 10.6.1).

I'm using Perl 5.8.8 (build 822) and according to perl -V my @INC
contains /Users/(name)/Library/ActivePerl/lib, /usr/local/
ActivePerl-5.8/site/lib and /usr/local/ActivePerl-5.8/lib. Using PPM I
see that some of my modules are located at the ActivePerl location and
some at the ActivePerl-5.8 one with the DBD-CSV module being at the
latter. I've been using Komodo to test the CGI script that is failing
and its error message shows a completely different @INC which contains
references to Perl 5.10 but none of the above locations. I don't know
if this has any bearing on the problem but I see that my /System/
Library/Perl folder has subfolders labelled 5.10.0 and 5.8.9.

I had thought that this problem was related to the use of Komodo but I
have a small program that checks that all the modules I require have
been installed, and if this is run outside Komodo it reports that this
module is not installed. Can anyone suggest what might be wrong?


_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs