in reply to Undeclared CGI???

It looks fairly solid to me. Can you run it from the command-line? What version of Perl are you running? What is the output of these commands?

perl -V perl -MCGI -e "print CGI->VERSION()"

Replies are listed 'Best First'.
Re: Re: Undeclared CGI???
by Nickd_69 (Novice) on Aug 13, 2003 at 04:38 UTC
    I am running perl version 5.6.1 which I'm pretty sure is the latest. The other command doesn't appear to work. Just comes up with heaps of errors. i have been trying to download and install all the extra modules that it requires but it is never ending. Any other ideas because there are compilation errors whihc must mean that some code is wrong somewhere???
      It looks like you don't have CGI.pm installed (???). Try installing that. Other than that quote the exact error here and we will probably have more luck.
        The CGI module is already installed. Here is the exact error which was a bit different than I thought: Global symbol "$query" requires explicit package name at enquiry02.pl line 6. Any ideas??