[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] problem using CGI.pm



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.

--
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