Name : perl-Time-SoFar
| |
Version : 1.00
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp155.1.1
| Date : 2023-07-20 19:44:33
|
Group : Development/Libraries/Perl
| Source RPM : perl-Time-SoFar-1.00-lp155.1.1.src.rpm
|
Size : 0.01 MB
| |
Packager : https://www_suse_com/
| |
Summary : Perl module to calculate run time
|
Description :
*Time::SoFar* has two functions for calculating how long a script has been running. \'runtime()\' always works from the time the script was started (using _$^T_). \'runinterval()\' works from the last time \'runtime()\' or \'runinterval()\' was called (or since the start of the script).
Both \'runtime()\' and \'runinterval()\' use \'figuretimes()\' to render a raw number of seconds into component time units. Both take an optional boolean argument that gets passed to \'figuretimes()\' to influence its output.
In an array context \'figuretimes()\' returns the timecomponents as an array, in a scalar context it returns those components as a *:* delimited string. The default behaviour is to optimize away 0 output from the longer period end of the output, leaving a minimum of minutes:seconds. This is good for arrays that will be passed to \'join()\', but not so good for a list of variables, so this behaviour can be disabled by using a true value for _$no_optimize_.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-T/15.5/noarch |