B
Bill Davis
I am just starting to play with CGI programs on a box with RH 9. Testing
to see if I had the stuff installed I used a very simple script like so...
#!/usr/bin/perl -w
use strict;
use CGI;
It told me that it couldn't find CGI.pm and sure enough, that apparently
doesn't come on the RedHat 9 distro. So I installed the latest version of
Perl (5.8.1, I think) and CGI.pm came with it.
But when I run the above test, I get the following...
Can't locate CGI.pm in @INC (@INC contains:
/usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0...
etc...etc
Perl -v gives the correct new version of 5.8.1, but the above seems to say
that I have a path variable somewhere that is pointing to the old version.
It is the @INC that I am hung up on. None of my books have a reference
to it and naturally the Perl website search function is down at the moment.
Neither do the man pages, or else I am not giving the right search args.
Anybody give me some insite on what the @INC is?
Thanks
Bill Davis
to see if I had the stuff installed I used a very simple script like so...
#!/usr/bin/perl -w
use strict;
use CGI;
It told me that it couldn't find CGI.pm and sure enough, that apparently
doesn't come on the RedHat 9 distro. So I installed the latest version of
Perl (5.8.1, I think) and CGI.pm came with it.
But when I run the above test, I get the following...
Can't locate CGI.pm in @INC (@INC contains:
/usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0...
etc...etc
Perl -v gives the correct new version of 5.8.1, but the above seems to say
that I have a path variable somewhere that is pointing to the old version.
It is the @INC that I am hung up on. None of my books have a reference
to it and naturally the Perl website search function is down at the moment.
Neither do the man pages, or else I am not giving the right search args.
Anybody give me some insite on what the @INC is?
Thanks
Bill Davis