BSD Ports

devel/p5-Time-Period 1.25 DragonFly

Perl module that contains code to deal with time periods

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

Description

Period.pm is a Perl module that contains code to deal with time periods. Currently, there is only a function in this module. That function is called inPeriod().

inPeriod() determines if a given time is within a given time period. It will return 1 if it is, 0 if not, and -1 if either the time or the period passed to it were malformed. The time is specified in non-leap year seconds past January 1, 1970, as per the time() function. The period is a string which is of the form described in Period's man page.

In the other systems

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

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlydevel/p5-Time-Period1.25 newestnone known-[email protected]-
FreeBSDdevel/p5-Time-Period1.25 newestnone known-[email protected]-
OpenBSDdevel/p5-Time-Period1.25 newestno data-The OpenBSD ports mailing-list <[email protected]>-
NetBSDtime/p5-Time-Period by name1.20nb20none known-[email protected]2026-07-16
HardenedBSDdevel/p5-Time-Period1.25 newestno data-[email protected]-
GhostBSDdevel/p5-Time-Period1.25 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

pkg install p5-Time-Period

From DPorts:

cd /usr/dports/devel/p5-Time-Period && 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
Required by 1