FreeBSD.software
Home/devel/p5-Time-Duration-Parse

p5-Time-Duration-Parse

0.16devel

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

$pkg install p5-Time-Duration-Parse
metacpan.org/release/Time-Duration-Parse
Origin
devel/p5-Time-Duration-Parse
Size
42.1KiB
License
ART10, GPLv1+
Maintainer
perl@FreeBSD.org
Dependencies
1 packages
Required by
8 packages

Dependencies (1)

Required By (8)