Parse string that represents time duration
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 _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 );
- Sources inherited from project openSUSE:Backports:SLE-15-SP1
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Backports:SLE-15-SP1:Update/perl-Time-Duration-Parse && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
Time-Duration-Parse-0.13.tar.gz | 0000011604 11.3 KB | |
cpanspec.yml | 0000000547 547 Bytes | |
perl-Time-Duration-Parse.changes | 0000002457 2.4 KB | |
perl-Time-Duration-Parse.spec | 0000002184 2.13 KB |
Latest Revision
Ismail Dönmez (namtrac)
committed
(revision 3)
osc copypac from project:openSUSE:Leap:15.1 package:perl-Time-Duration-Parse revision:9
Comments 0