Name : perl-Time-Duration-Parse
| |
Version : 0.16
| Vendor : openSUSE
|
Release : bp156.3.1
| Date : 2023-07-22 11:44:43
|
Group : Unspecified
| Source RPM : perl-Time-Duration-Parse-0.16-bp156.3.1.src.rpm
|
Size : 0.03 MB
| |
Packager : https://bugs_opensuse_org
| |
Summary : Parse string that represents time duration
|
Description :
Time::Duration::Parse is a module to parse human readable duration strings like _2 minutes and 3 seconds_ to seconds.
It does the opposite of Time::Duration/duration_exact function in Time::Duration and is roundtrip safe. So, the following is always true.
use Time::Duration::Parse; use Time::Duration;
my $seconds = int rand 100000; is( parse_duration(duration_exact($seconds)), $seconds );
|
RPM found in directory: /vol/rzm3/linux-opensuse/distribution/leap/15.6/repo/oss/noarch |