in reply to can't locate CGI.pm ...

Strange, since CGI.pm is part of the core Perl distribution, IIRC. Does your system's administrator have anything to say on the subject?

You can type at the command line, perl -V and you'll get a listing of a lot of configuration things, including the contents of @INC. That'll let you know if there's a problem with the INC paths.

Also, what do you find when you look in perl/lib and perl/site/lib for CGI.pm? Is it there?


Dave

Replies are listed 'Best First'.
Re: Re: can't locate CGI.pm ...
by vincentberenz (Initiate) on Apr 08, 2004 at 19:25 UTC
    Thanks for your answer ...

    I typed perl -v and here what I have for the @INC :

    /usr/lib/perl5/5.8.0/i386-linux-thread-multi
    /usr/lib/perl5/5.8.0/
    /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
    /usr/lib/perl5/site_perl/5.8.0/
    /usr/lib/perl5/site_perl
    /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
    /usr/lib/perl5/vendor_perl/5.8.0
    /usr/lib/perl5/5.8.0/i386-linux-thread-multi
    /usr/lib/perl5/5.8.0

    I although used the "find" command to look for CGI.pm but I did not find it !