BSD Ports

devel/p5-Time-Local 1.35 MidnightBSD

Efficiently compute time from local and GMT time

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
artistic, gpl+
Categories
devel, perl5

Description

These routines are the inverse of built-in perl functions localtime() and gmtime(). They accept a date as a six-element array, and return the corresponding time(2) value in seconds since the system epoch (Midnight, January 1, 1970 UTC on Unix, for example). This value can be positive or negative, though POSIX only requires support for positive values, so dates before the system's epoch may not work on all operating systems.

In the other systems

SystemPortVersion
MidnightBSDdevel/p5-Time-Local1.35
FreeBSDdevel/p5-Time-Local1.35
DragonFlydevel/p5-Time-Local1.35
HardenedBSDdevel/p5-Time-Local1.35
GhostBSDdevel/p5-Time-Local1.35

Install

Binary package:

mport install p5-Time-Local

From mports:

cd /usr/mports/devel/p5-Time-Local && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-Time-Local>0:devel/p5-Time-Local

Dependencies

No port depends on this one.

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 2
  • %%SITE_PERL%%/Time/Local.pm
  • %%PERL5_MAN3%%/Time::Local.3.gz
distinfo 1
FileSizeSHA256
Time-Local-1.35.tar.gz464961d136b71bd041cbe6f66c43180ee79e675b72ad5a3596abd6a44d211072ada29
Master sites 1
  • CPAN