Name : perl-Term-ProgressBar
| |
Version : 2.23
| Vendor : obs://build_opensuse_org/server:monitoring
|
Release : 25.14
| Date : 2022-10-09 05:07:26
|
Group : Unspecified
| Source RPM : perl-Term-ProgressBar-2.23-25.14.src.rpm
|
Size : 0.05 MB
| |
Packager : (none)
| |
Summary : Provide a progress meter on a standard terminal
|
Description :
Term::ProgressBar provides a simple progress bar on the terminal, to let the user know that something is happening, roughly how much stuff has been done, and maybe an estimate at how long remains.
A typical use sets up the progress bar with a number of items to do, and then calls update to update the bar whenever an item is processed.
Often, this would involve updating the progress bar many times with no user-visible change. To avoid unnecessary work, the update method returns a value, being the update value at which the user will next see a change. By only calling update when the current value exceeds the next update value, the call overhead is reduced.
Remember to call the \'$progress->update($max_value)\' when the job is done to get a nice 100% done bar.
A progress bar by default is simple; it just goes from left-to-right, filling the bar with \'=\' characters. These are called *major* characters. For long-running jobs, this may be too slow, so two additional features are available: a linear completion time estimator, and/or a *minor* character: this is a character that _moves_ from left-to-right on the progress bar (it does not fill it as the major character does), traversing once for each major-character added. This exponentially increases the granularity of the bar for the same width.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/server:/monitoring/openSUSE_Factory_PowerPC_standard/noarch |