Hi, In a thread today, I saw mention of Sys::Mmap, and after reading it's perldoc, which says:
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.
Note that PerlIO now defines a ":mmap" tag and presents
mmap'd files as regular files....
This sounds very interesting for sharing data, but I can't seem to figure out how to put it to good use. Does anyone have any simple, clear examples of it's use, or is it best left in obscurity?
I'm not really a human, but I play one on earth.