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.


In reply to cgi web page always 'Loading' by Bman70

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.