I understand that it's hard to troubleshoot without showing you the code, but I doubt you'd ever want to pore through the roughly 1000 lines of really messy code to see what the problem is, so I'm trying to just give you the most relevant portions. I can post the whole printing subroutine here if you really think that would help, though.

Anyway, I'm not actually storing everything in a variable and printing it out... I'm printing it out as I go. There doesn't seem to be anything really special about why the HTML is starting to print at that point -- or at least none that I can see. Like I said before, for some reason, when I comment out a few lines that print some hidden text fields, everything prints normally. It just refuses to print all of the HTML when I use all the fields I need.

As for autoflush -- what is that, and how would I enable it? What does that do, anyway?

Thanks again for your help.

In reply to Re: Re: Malformed HTML output by simX
in thread Malformed HTML output by simX

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.