gdnew has asked for the wisdom of the Perl Monks concerning the following question:

Hallo Perlmonks..

Is there any way to show/ create a progress bar.. while perl program is running using perl language?

For eq I have a perl program called myprog.pl which will access a very large database and takes a very long time.While this program is running through the database, instead of just hang in there, I want to create a progress bar to show the user how many percentage left.

Thank you in advanced.

Regards
gdnew

  • Comment on progress bar while perl prog is running

Replies are listed 'Best First'.
Re: progress bar while perl prog is running
by grep (Monsignor) on Mar 18, 2002 at 03:59 UTC
Re: progress bar while perl prog is running
by vagnerr (Prior) on Mar 18, 2002 at 10:14 UTC
    You could also have a look at This code snippit node which has a function to do it for you. The orriginal one had a couple of bugs, however simon.proctor's rewrite definatly works as I have used it twice now :-)

    ---If it doesn't fit use a bigger hammer
      Thanks..
      I'll try it..