Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: PERL CGI - waiting page is hanging

by davidov0009 (Scribe)
on Nov 23, 2007 at 14:35 UTC ( [id://652574]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://652574]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (2)
As of 2024-04-26 04:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found