Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: perl-Time-SoFar | Distribution: Mageia |
Version: 1.0.0 | Vendor: Mageia.Org |
Release: 10.mga9 | Build date: Sun Mar 20 15:40:13 2022 |
Group: Development/Perl | Build host: localhost |
Size: 10240 | Source RPM: perl-Time-SoFar-1.0.0-10.mga9.src.rpm |
Packager: umeabot <umeabot> | |
Url: https://metacpan.org/release/Time-SoFar | |
Summary: Perl module to calculate run time |
*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 time components 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_.
GPL+ or Artistic
* Sun Mar 20 2022 umeabot <umeabot> 1.0.0-10.mga9 + Revision: 1806476 - Mageia 9 Mass Rebuild
/usr/share/doc/perl-Time-SoFar /usr/share/doc/perl-Time-SoFar/README /usr/share/man/man3/Time::SoFar.3pm.xz /usr/share/perl5/vendor_perl/Time /usr/share/perl5/vendor_perl/Time/SoFar.pm
Generated by rpm2html 1.8.1
Fabrice Bellet, Sat Aug 31 08:25:44 2024