in reply to Memory mapped file questions

Fundamentally you would leverage Perl variables. There is a module that looks like it might be what you want, File::Map. I had to look up what a memory mapped file was and I realized it's pretty much what we do when we slurp a file into a datastructure. I know that doesn't really mean we use file accessor primitives, but things in Perl are done on a higher level via data structure manipulation. (update) somewhat related, Filesys::POSIX - Provide POSIX-like filesystem semantics in pure Perl

Replies are listed 'Best First'.
Re^2: Memory mapped file questions
by faustf (Novice) on Oct 11, 2020 at 07:53 UTC
    Exactly i just saw the File::Map , but not exist example for read , and documentation is very gaunt, anyone have some example ? thankz a lot