On Tue, 26 Jun 2001, RDWest Sr. wrote:
> #!perl
> ##***************************************************##
> ## MAIN ##
> ##***************************************************##
> require "setup.cfg";
> require "html.pl";
>
>
> &parsedata
> if ($INPUT{'signup'}) { &join; }
> else {&html_home; }
> exit;
>
> someone explain what i'm doing wrong plz....
> i have my globals in setup.cfg
You aren't using CGI.pm. I recommend using that for any kind of CGI work
in Perl. You will wonder who you got along without it when you do.
http://stein.cshl.org/WWW/software/CGI/cgi_docs.html
> ok.. it all works fine BUT
> i can't use ( use strict; )
> says it didn't return correct headers or something
> does anyone see a problem in my main code here?
Where are you using strict? Are you using cgi-lib.pl anywhere? If you
are, get rid of it! Use CGI.pm instead. You will save a lot of
headaches.
-- Brett
http://www.chapelperilous.net/btfwk/
------------------------------------------------------------------------
Don't mind him; politicians always sound like that.