You are viewing the version of this documentation from Perl blead. This is the main development branch of Perl. (git commit 4f5c042cd57511863ed6ec92f90b776f0a894b6b)

CONTENTS

NAME

PerlIO::mmap - Memory mapped IO

SYNOPSIS

open my $fh, '<:mmap', $filename;

DESCRIPTION

This layer does read and write operations by mmap()ing the file if possible, but falls back to the default behavior if not.

IMPLEMENTATION NOTE

PerlIO::mmap only exists to use XSLoader to load C code that provides support for using memory mapped IO. One does not need to explicitly use PerlIO::mmap;.