Name : perl-Time-Progress
| |
Version : 2.140.0
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp155.1.1
| Date : 2024-08-04 20:19:40
|
Group : Unspecified
| Source RPM : perl-Time-Progress-2.140.0-lp155.1.1.src.rpm
|
Size : 0.02 MB
| |
Packager : https://www_suse_com/
| |
Summary : Elapsed and estimated finish time reporting
|
Description :
This module displays progress information for long-running processes. This can be percentage complete, time elapsed, estimated time remaining, an ASCII progress bar, or any combination of those.
It is useful for code where you perform a number of steps, or iterations of a loop, where the number of iterations is known before you start the loop.
The typical usage of this module is:
* * Create an instance of \'Time::Progress\', specifying min and max count values.
* * At the head of the loop, you call the \'report()\' method with a format specifier and the iteration count, and get back a string that should be displayed.
If you include a carriage return character (\\r) in the format string, then the message will be over-written at each step. Putting \\r at the start of the format string, as in the SYNOPSIS, results in the cursor sitting at the end of the message.
If you display to STDOUT, then remember to enable auto-flushing:
use IO::Handle; STDOUT->autoflush(1);
The shortest time interval that can be measured is 1 second.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl/15.5/noarch |