Bman70 has asked for the wisdom of the Perl Monks concerning the following question:
I have a CGI.pm generated web page. The html is printed at the end of the script, from a variable using 'qq{' to escape all the html. I do this a lot, but in this instance the page has large letters "Loading" at the very bottom. It's unusual because significant googling turned up nothing.. either this is something so simple everyone should know it, or very obscure. My script ends with 'exit 0' so it doesn't seem that it would be hung up somewhere right? Screenshot: https://i.imgur.com/9KtkGwL.png
It looks like CGI.pm itself is generating the large text, since it seems to be outside the html code.
p.s. I am printing a CGI.pm header.
The $html variable also has a doctype and html declaration, but I took out the doctype and nothing changed.
I'm using strict / warnings. No errors show up in my nginx logs.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: cgi web page always 'Loading'
by LanX (Saint) on Feb 02, 2021 at 02:35 UTC | |
Re: cgi web page always 'Loading'
by Polyglot (Chaplain) on Feb 02, 2021 at 02:42 UTC | |
Re: cgi web page always 'Loading'
by Bman70 (Acolyte) on Feb 02, 2021 at 02:34 UTC | |
by LanX (Saint) on Feb 02, 2021 at 02:40 UTC | |
A reply falls below the community's threshold of quality. You may see it by logging in. |