in reply to How to share a file in memory instead of hard disk

Yes, this is possible. The basis of the mechanism is the CreateFileMapping API. I don't think that there is any existing module publically available to do this.

You could use Win32::API::Prototype or related module to access the api's to do this from Perl. Perhaps the best way would be to model this behind a Tie::Handle tied interface.


Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"Think for yourself!" - Abigail
"Memory, processor, disk in that order on the hardware side. Algorithm, algorithm, algorithm on the code side." - tachyon
  • Comment on Re: How to share a file in memory instead of hard disk