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.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| DragonFly | devel/p5-Time-Duration-Parse | 0.16 newest | none known | - | [email protected] | - |
| FreeBSD | devel/p5-Time-Duration-Parse | 0.16 newest | none known | - | [email protected] | - |
| OpenBSD | devel/p5-Time-Duration-Parse | 0.16 newest | no data | - | Benoit Lecocq <[email protected]> | - |
| NetBSD | time/p5-Time-Duration-Parse by name | 0.16nb5 newest | none known | - | [email protected] | 2026-07-16 |
| MidnightBSD | devel/p5-Time-Duration-Parse | 0.16 newest | no data | - | [email protected] | - |
| HardenedBSD | devel/p5-Time-Duration-Parse | 0.16 newest | no data | - | [email protected] | - |
| GhostBSD | devel/p5-Time-Duration-Parse | 0.16 newest | no data | - | [email protected] | - |
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.