BSD Ports

devel/p5-prefork 1.05 MidnightBSD

Optimize module loading across forking and non-forking scenarios

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

Description

The prefork pragma is intended to allow module writers to optimise module loading for both scenarios with as little additional code as possible.

The prefork.pm is intended to serve as a central and optional marshalling point for state detection (are we running in procedural or pre-forking mode) and to act as a relatively light-weight module loader.

In the other systems

SystemPortVersion
MidnightBSDdevel/p5-prefork1.05
FreeBSDdevel/p5-prefork1.05
OpenBSDdevel/p5-prefork1.05
NetBSDdevel/p5-prefork1.05nb8
DragonFlydevel/p5-prefork1.05
HardenedBSDdevel/p5-prefork1.05
GhostBSDdevel/p5-prefork1.05

Install

Binary package:

mport install p5-prefork

From mports:

cd /usr/mports/devel/p5-prefork && make install clean

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

RUN_DEPENDS=	p5-prefork>0:devel/p5-prefork

Dependencies

Required by 1

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 2
  • %%PERL5_MAN3%%/prefork.3.gz
  • %%SITE_PERL%%/prefork.pm
distinfo 1
FileSizeSHA256
prefork-1.05.tar.gz284586d87bcdfa63b28cefcfa870803a519b6590e3ea19c300f98cecb0e190bb19305
Master sites 1
  • CPAN