devel/p5-Time-Duration-Parse 0.16 MidnightBSD
Parse string that represents time duration
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- artistic, gpl+
- Categories
- devel, perl5
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 |
|---|---|---|---|---|---|---|
| MidnightBSD | devel/p5-Time-Duration-Parse | 0.16 newest | no data | - | [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 |
| DragonFly | devel/p5-Time-Duration-Parse | 0.16 newest | none known | - | [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:
mport install p5-Time-Duration-Parse
From mports:
cd /usr/mports/devel/p5-Time-Duration-Parse && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-Time-Duration-Parse>0:devel/p5-Time-Duration-Parse
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
As this port's Makefile names them.
Test 1
p5-Time-Duration>=1.0.6: devel/p5-Time-Duration
Required by 1
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 2
- %%SITE_PERL%%/Time/Duration/Parse.pm
- %%PERL5_MAN3%%/Time::Duration::Parse.3.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Time-Duration-Parse-0.16.tar.gz | 11810 | 1084a6463ee2790f99215bd76b135ca45afe2bfa6998fa6fd5470b69e1babc12 |
Master sites 1
- CPAN