zentara has asked for the wisdom of the Perl Monks concerning the following question:
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?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: anyone have some good mmap examples?
by perrin (Chancellor) on Dec 12, 2004 at 19:03 UTC | |
|
Re: anyone have some good mmap examples?
by sgifford (Prior) on Dec 13, 2004 at 06:42 UTC | |
|
Re: anyone have some good mmap examples?
by kscaldef (Pilgrim) on Dec 15, 2004 at 02:58 UTC | |
by zentara (Cardinal) on Dec 15, 2004 at 09:18 UTC | |
by kscaldef (Pilgrim) on Dec 15, 2004 at 17:01 UTC |