in reply to Seeking feedback on Tic-Tac-Toe

for starters (i haven't looked through the whole thing yet) you're missing -Tw switches (taint and warnings) and your missing use strict;
very bad habits even in casual coding.
-Syn0

Replies are listed 'Best First'.
Re: Re: Seeking feedback on Tic-Tac-Toe
by Cobo (Scribe) on Jul 12, 2001 at 04:01 UTC
    #!/usr/local/bin/perl -w use strict; use CGI ':standard'; my ($clear,$team,$across,$down,$move,$file,$file2,$line);
    is now the begining of the program, however when I tried to put -Tw in I got a error stating it was to late for -T...
      If you are attempting to run from the command line you must run it as perl -wT scriptname. Also, if running on windows with IIS, you have to either change the association of (.cgi|.pl) to use perl.exe -wT, or simply run without. I run without, but build my scripts and test on my localmachine (from command line) with perl -wT.
      seems to be an issue with IIS, as the_slycer pointed out.
      to get more info, do a super search on "too late for -T".
      -Syn0