Parse string that represents time duration

Edit Package perl-Time-Duration-Parse

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 );

Refresh
Refresh
Source Files
Filename Size Changed
Time-Duration-Parse-0.12.tar.gz 0000011340 11.1 KB
cpanspec.yml 0000000547 547 Bytes
perl-Time-Duration-Parse.changes 0000001944 1.9 KB
perl-Time-Duration-Parse.spec 0000002184 2.13 KB
Revision 1 (latest revision is 2)
Stephan Kulow's avatar Stephan Kulow (coolo) committed (revision 1)
osc copypac from project:openSUSE:Factory package:perl-Time-Duration-Parse revision:6ff32cc1666db2ce60580c2cee3484f9, using expand
Comments 0
openSUSE Build Service is sponsored by