1Term::ProgressBar::QuieUts(e3r)Contributed Perl DocumentTaetrimo:n:ProgressBar::Quiet(3)
2
3
4

NAME

6       Term::ProgressBar::Quiet - Provide a progress meter if run
7       interactively
8

SYNOPSIS

10         use Term::ProgressBar::Quiet;
11         my @todo     = ( 'x' x 10 );
12         my $progress = Term::ProgressBar::Quiet->new(
13             { name => 'Todo', count => scalar(@todo), ETA => 'linear' } );
14
15         my $i = 0;
16         foreach my $todo (@todo) {
17
18             # do something with $todo
19             $progress->update( ++$i );
20         }
21         $progress->message('All done');
22

DESCRIPTION

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

AUTHOR

30       Leon Brocard, acme@astray.com
31
33       Copyright (c) 2007 Leon Brocard. All rights reserved. This program is
34       free software; you can redistribute it and/or modify it under the same
35       terms as Perl itself.
36
37
38
39perl v5.32.0                      2020-07-28       Term::ProgressBar::Quiet(3)
Impressum