BSD Ports

devel/p5-Sys-Mmap 0.20 DragonFly

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

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

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
DragonFlydevel/p5-Sys-Mmap0.20
FreeBSDdevel/p5-Sys-Mmap0.21
OpenBSDdevel/p5-Sys-Mmap0.21
NetBSDdevel/p5-Sys-Mmap0.20nb5
MidnightBSDdevel/p5-Sys-Mmap0.20
HardenedBSDdevel/p5-Sys-Mmap0.21
GhostBSDdevel/p5-Sys-Mmap0.20

Install

Binary package:

pkg install p5-Sys-Mmap

From DPorts:

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

Dependencies

Run dependencies 1
Required by 1