Parse string that represents time duration Maintained by:perl@FreeBSD.org Port Added: 19 Jul 2006 01:08:32 Also Listed In:perl5 License: ART10 GPLv1
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.
my $seconds = int rand 100000;
is( parse_duration(duration_exact($seconds)), $seconds );