perl-Time-Duration-Parse
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 Time::Duration/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 );

Artistic-1.0 OR GPL-1.0-or-later

cloud_download Downloads

Please select a product to see the available package versions:
Loading...
Loading package downloads...