Term::ProgressBar::Quiet(3pm)

Term::ProgressBar::Quiet3pm

Provide a progress meter if run interactively

Usage

  use Term::ProgressBar::Quiet;
  my @todo     = ( 'x' x 10 );
  my $progress = Term::ProgressBar::Quiet->new(
      { name => 'Todo', count => scalar(@todo), ETA => 'linear' } );
  my $i = 0;
  foreach my $todo (@todo) {
      # do something with $todo
      $progress->update( ++$i );
  }
  $progress->message('All done');

Overview

Term::ProgressBar is a wonderful module for showing progress bars on the terminal. This module acts very much like that module when it is run interactively. However, when it is not run interactively (for example, as a cron job) then it does not show the progress bar.

Releases

6 releases since Debian 8 (Jessie); the text changed 2 times.

  1. 8–10
  2. 11
  3. 12–13

Author

Leon Brocard, [email protected]

From libterm-progressbar-quiet-perl 0.31-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.