Re: Simple text progress bars

2000-10-27 Thread Edward Avis
On 26 Oct 2000, Andreas J. Koenig wrote: >>Output: >>doing things: ## > >>The bar grows in proportion to the number of things done, so that when >>everything has been done fifty hash marks have been printed. > >>Is the name Console::ProgressBar okay? >What about Term::ProgressBa

Re: Simple text progress bars

2000-10-26 Thread Andreas J. Koenig
> On Mon, 16 Oct 2000 18:59:28 +0100 (BST), Edward Avis <[EMAIL PROTECTED]> said: > If you use Linux, you may have seen the progress bar printed by > 'rpm -Uvh'. It is a sequence of fifty hash marks. > I've written a module to do the same in Perl: > use Console::ProgressBar; > my $bar

Simple text progress bars

2000-10-16 Thread Edward Avis
If you use Linux, you may have seen the progress bar printed by 'rpm -Uvh'. It is a sequence of fifty hash marks. I've written a module to do the same in Perl: use Console::ProgressBar; my $bar = new Console::ProgressBar 'doing things', 100; foreach (0 .. 100 - 1) { # do thing update $b