@inc can't locate CGI.pm or Carp.pm

jody

Verified User
Joined
Jan 14, 2004
Messages
5
None of my scripts that have
use CGI;
or
use CGI::Carp qw(fatalsToBrowser);

or working.

The error is they can't locate cgi.pm or carp.pm

I have done a whereis for both and they appear to be on the box.
The results of whereis are:
CGI:
Carp:

They are, in fact in /usr/lib/perl5/5.8.0

I even tried

use lib '/usr/lib/perl5/5.8.0';

use CGI::Carp qw(fatalsToBrowser);

I noticed in /usr/lib/perl5/5.8.0 that cgi.pm is actually named CGI.pm.newcgi
Could this be the problem and if so how do I get around it?

Thanks

Driving me nuts.

Jody
 
Last edited:
Not sure..... you could try installing using CPAN or source tio ensure they are there ok ;)

Chris
 
Back
Top