Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Memory mapped file questions

by perlfan (Vicar)
on Oct 11, 2020 at 03:54 UTC ( #11122678=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11122678]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (1)
As of 2021-10-22 23:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (86 votes). Check out past polls.

    Notices?