CVE and update status of the FreeBSD ports tree3,295 unaddressed CVEs in 670 portsAll times are CET
Port details

devel/p5-Time-Duration-Parse-AsHash 0.10.6

Parse string that represents time duration

Port info

Maintainer
sunpoet@FreeBSD.org
Packages
latest: 0.10.6
Upstream
up to date
Last update
to 0.10.6 · e83a453f6a
Quarterly
2026Q4: 0.10.6
WWW
https://metacpan.org/dist/Time-Duration-Parse-AsHash
Links
cgit · VuXML · Report wrong data

Install

Package
# pkg install p5-Time-Duration-Parse-AsHash
installs 0.10.6 from latest; from quarterly (2026Q4) 0.10.6
Port
# cd /usr/ports/devel/p5-Time-Duration-Parse-AsHash && make install clean
Size
12 KiB download · 44 KiB installed
Depends on
lang/perl5.42 5.42.3
License
ART10 or GPLv1+

Packages by version and architecture

latest

FreeBSD versionamd64aarch64i386
FreeBSD 160.10.60.10.6–
FreeBSD 150.10.60.10.6–
FreeBSD 140.10.60.10.60.10.6

quarterly (2026Q4)

FreeBSD versionamd64aarch64i386
FreeBSD 150.10.60.10.6–
FreeBSD 140.10.60.10.60.10.6

version as in the ports tree (latest) or the most common one (quarterly) · different version · ✗ not built · – no packages for this platform. Package sets that have not been rebuilt for 60 days are left out.

Unaddressed and VuXML only (0)

No unaddressed CVE and nothing reported by pkg audit for the packaged version 0.10.6.

Fixed (0)

No VuXML entries for this package.

Problem reports (0) · open in Bugzilla, most recently changed first

None.

Commits (1)

Po-Chuan Hsieh (sunpoet) · 0.10.6
devel/p5-Time-Duration-Parse-AsHash: Add p5-Time-Duration-Parse-AsHash 0.10.6

Time::Duration::Parse::AsHash is like Time::Duration::Parse except:
- By default it returns a hashref of parsed duration elements instead of number
  of seconds
  There are some circumstances when you want this, e.g. when feeding into
  DateTime::Duration and you want to count for leap seconds.
  To return number of seconds like Time::Duration::Parse, pass a true value as
  the second argument.
- By default seconds are not rounded
  For example: "0.1s" or 100ms will return result { seconds => 0.1 }, and "2.3s"
  will return { seconds => 2.3 }.
  Also, <01:02:03> being recognized as 1h2min3s, 01:02:03.4567 will also be
  recognized as 1h2min3.4567s.
- It recognizes more duration units
  milliseconds (ms), which will be returned in the seconds key, for example
  "400ms" returns { seconds => 0.4 }.
  microseconds. This will also be returned in seconds key.
  nanoseconds (ns). This will also be returned in seconds key.
  decades. This will be returned in years key, for example "1.5 decades" will
  return { years => 15 }.
- It has a lower startup overhead
  By avoiding modules like Carp and Exporter::Lite, even strict and warnings
  (starts up in ~3m vs ~9ms on my computer).
e83a453f6a