OS Manuals

PerlIO::mmap(3pm)

PerlIO::mmap - Memory mapped IO

PerlIO::mmap(3pm) Perl Programmers Reference Guide PerlIO::mmap(3pm)

PerlIO::mmap - Memory mapped IO

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

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

"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;".

2026-10-21 perl v5.44.0

perl 5.44.0-r2 · os · ingested 2026-10-22