Chris Nandor wrote: > At 21.05 98.01.28, Beau Mack wrote: > >use CGI qw(:standard); > > > >I get the following error when I do a syntax check: > > > ># Can't locate CGI.pm in @INC. > >File 'untitled:Desktop Folder:webtest:test.cgi'; Line 1 > ># BEGIN failed--compilation aborted. > >File 'untitled:Desktop Folder:webtest:text.cgi'; Line 1 > > What version of MacPerl do you have? Older versions did not include > CGI.pm. Also, print out @INC and see what you get: > > print (join "\n", @INC), "\n"; > > Are you using the Taint Check version of the CGI Script extension? If so, > then that messes with @INC, as it should. But I am not being able to get > CGI.pm to work with tainting because of its autoloading. Sigh. I have also encountered the same problem when I ran MacPerl. When I ran ( print (join "\n", @INC), "\n";) in Macperl it came back saying (Dev:Pseudo:). does that mean I have to load new version of MacPerl which includes CGI.pm. I run MacPerl 5.1.0r2. I am rather confused since I do not have much programming experience. I must agree I have made some progress since joining the list. Thanks > > > -- > Chris Nandor mailto:pudge@pobox.com http://pudge.net/ > %PGPKey=('B76E72AD',[1024,'0824 090B CE73 CA10 1FF7 7F13 8180 B6B6']) > #== New Book: MacPerl: Programming for the Rest of Us ==# > #== Publishing Date: Early 1998. http://www.ptf.com/macperl/ ==# > > ***** Want to unsubscribe from this list? > ***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch ***** Want to unsubscribe from this list? ***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch