IG, Thanks for the quick response, i'll try and play around with your example sometime today. I plugged in in already today to see what it would do "out of the box" and it appears that perhaps increasing the efficiency of my perl code and color generator may not solve my 1 second delay between adding colors. (Really what I'm trying to do with this is cut down on the HTML it has to send back, which your script does a amazing job of doing, however, it seems jQuery (the javascript framework I'm using) understands what needs to be done, and re-assigns a background-color:(000,000,00)..(An RGB formatted bg color line added to each line.)...Which is MORE than the previous line.

I'm not giving up on the perl side, I still think we can implement this way and have it much more efficient.

Thanks again!

In reply to Re^2: Hashes, Arrays, Comparing Values to Elements by Trihedralguy
in thread Hashes, Arrays, Comparing Values to Elements by Trihedralguy

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.