BSD Ports

devel/p5-Time-Duration-Parse 0.16 DragonFly

Parse string that represents time duration

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
ART10, GPLv1+
Categories
devel, perl5
Package size
10.8 KiB, 42.4 KiB installed

Description

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

In the other systems

The newest version among them is 0.16, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlydevel/p5-Time-Duration-Parse0.16 newestnone known-[email protected]-
FreeBSDdevel/p5-Time-Duration-Parse0.16 newestnone known-[email protected]-
OpenBSDdevel/p5-Time-Duration-Parse0.16 newestno data-Benoit Lecocq <[email protected]>-
NetBSDtime/p5-Time-Duration-Parse by name0.16nb5 newestnone known-[email protected]2026-07-16
MidnightBSDdevel/p5-Time-Duration-Parse0.16 newestno data-[email protected]-
HardenedBSDdevel/p5-Time-Duration-Parse0.16 newestno data-[email protected]-
GhostBSDdevel/p5-Time-Duration-Parse0.16 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

pkg install p5-Time-Duration-Parse

From DPorts:

cd /usr/dports/devel/p5-Time-Duration-Parse && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 1