Yes, I know it is a complete waste of time haha. I didnt want to hijack the thread and just wanted to ask about it. If it were a larger file that took a while to process, then it would have a significant difference. I was just wondering if it was because the calculations for the percentage, or printing the actual progress bar, or a combination of both? But it was the size of the buffer that was slowing it down tremendously. Now it transitions alot quicker, especially with larger files. This was the first time i ever attempted using a progress bar as well. Im not a professional by far and never claim to be. Im just an enthusiast programmer and like tinkering. And thanks for the wisdom as well. I will keep that in mind next time i /must/ have a progress bar.

Cheers :)


In reply to Re^4: Using a progress bar... having issues by james28909
in thread Using a progress bar... having issues by TitoLasVegas

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.