in reply to PERL CGI - waiting page is hanging

This probably won't help to solve your problem completely, but it would certainly help to shorten up your program considerably and make it more robust and easier to read. You should use the CGI module from CPAN intead of printing all your own headers and html etc.

http://search.cpan.org/dist/CGI.pm/CGI.pm

Replies are listed 'Best First'.
Re^2: PERL CGI - waiting page is hanging
by jettero (Monsignor) on Nov 23, 2007 at 14:39 UTC

    I would go further and say that if roll-your-own CGI isn't causing problems for him yet, it most certainly will in the future.

    Just use CGI. Do it.

    In fact, "while (chop($CGIPath) ne "/") { }" may very well be the problem. It's better to use path_info() to do ... whatever that while loop is meant to do.

    -Paul