BSD Ports

devel/p5-Sys-Mmap 0.20 MidnightBSD

Map in a file as a Perl variable using mmap(2)

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

Description

The Mmap module lets you use mmap to map in a file as a Perl variable rather than reading the file into dynamically allocated memory.

The advantage of this is that several processes may share one copy of the file or string, saving memory, and concurrently making changes to portions of the file or string. When not used with a file, it is an alternative to SysV shared memory that places no arbitrary size limits on the shared memory area, and efficiently handles sparse memory usage.

In the other systems

SystemPortVersion
MidnightBSDdevel/p5-Sys-Mmap0.20
FreeBSDdevel/p5-Sys-Mmap0.21
OpenBSDdevel/p5-Sys-Mmap0.21
NetBSDdevel/p5-Sys-Mmap0.20nb5
DragonFlydevel/p5-Sys-Mmap0.20
HardenedBSDdevel/p5-Sys-Mmap0.21
GhostBSDdevel/p5-Sys-Mmap0.20

Install

Binary package:

mport install p5-Sys-Mmap

From mports:

cd /usr/mports/devel/p5-Sys-Mmap && make install clean

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

RUN_DEPENDS=	p5-Sys-Mmap>0:devel/p5-Sys-Mmap

Dependencies

Required by 1

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 3
  • %%SITE_ARCH%%/Sys/Mmap.pm
  • %%SITE_ARCH%%/auto/Sys/Mmap/Mmap.so
  • %%PERL5_MAN3%%/Sys::Mmap.3.gz
distinfo 1
FileSizeSHA256
Sys-Mmap-0.20.tar.gz179621820ce2c89f1ab7357644f8db0f49f142f54526250fb1e235db10aa80f15e2cf
Master sites 1
  • CPAN