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.11.tar.gz 0000010908 10.7 KB
perl-Time-Duration-Parse.changes 0000001614 1.58 KB
perl-Time-Duration-Parse.spec 0000002164 2.11 KB
Latest Revision
Stephan Kulow's avatar Stephan Kulow (coolo) accepted request 251139 from Stephan Sync Script Kulow's avatar Stephan Sync Script Kulow (opensuse132-syncer) (revision 2)
Submit revision 9 of openSUSE:Factory/perl-Time-Duration-Parse
Comments 0
openSUSE Build Service is sponsored by