PerlIO::mmap(3) Perl Programmers Reference Guide PerlIO::mmap(3) 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 pos- sible, 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;". perl v5.44.0 2026-05-14 PerlIO::mmap(3)