perl-Sys-Mmap (uses mmap to map in a file as a Perl variable) The mmap module uses the POSIX mmap call to map in a file as a Perl variable. Memory access by mmap may be shared between threads or forked processes, and may be a disc file that has been mapped into memory.