quark
01-26-2003, 11:18 PM
it was my understanding that CGI.pm is a standard module that comes with perl... so.. i write my first few scripts and go to run them...
[mike@linux mike]$ cd scripts/
[mike@linux scripts]$ ./myscript.pl
Can't locate CGI.pm in @INC (@INC contains: /usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i386-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl .) at ./myscript.pl line 2.
BEGIN failed--compilation aborted at ./myscript.pl line 2.
[mike@linux scripts]$
im using Mandrake 8.2 and have perl 5.6.1 installed ( incorrectly?)
so.. is there an easy way i can just add this module in? as far as i can see everything else is there and installed correctly.
[mike@linux mike]$ cd scripts/
[mike@linux scripts]$ ./myscript.pl
Can't locate CGI.pm in @INC (@INC contains: /usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i386-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl .) at ./myscript.pl line 2.
BEGIN failed--compilation aborted at ./myscript.pl line 2.
[mike@linux scripts]$
im using Mandrake 8.2 and have perl 5.6.1 installed ( incorrectly?)
so.. is there an easy way i can just add this module in? as far as i can see everything else is there and installed correctly.