in reply to Re^4: CGI hangs unless print
in thread CGI hangs unless print

OH! I see. Sorry did not mean to waste anyone's time. I thought there must be a very common already known issue with print and hangs. That I as a very infrequent user was clueless about. I need to figure out how to give you the example because the code is very long. And how to get it to compile since I interface with a company database....

Alright, I'll have to get back to you on this.

Replies are listed 'Best First'.
Re^6: CGI hangs unless print
by GrandFather (Saint) on May 24, 2017 at 00:54 UTC

    See I know what I mean. Why don't you? for hints. If you really need a database use SQLite (see DBD::SQLite) and add the minimum needed data in your sample code.

    You are facing a very common problem in trying to find the kernel of important code and exercising it in isolation. Figuring out how to do that is fundamental to unit testing and to understanding and maintaining code!

    Premature optimization is the root of all job security
Re^6: CGI hangs unless print
by karlgoethebier (Abbot) on May 24, 2017 at 07:52 UTC

    You didn't waste anyone's time. But some highly illuminated over motivated monks miss sometimes basic virtues like patience and humility. Good advice given below from GrandFather.

    Regards, Karl

    «The Crux of the Biscuit is the Apostrophe»

    Furthermore I consider that Donald Trump must be impeached as soon as possible