Hello all,
I am working on a project that requires dynamic use of various custom modules. I have successfully written a Just-in-Time-Module method that allows me to create module files on disk in my BEGIN and "require" the module and execute its functions further on in my application. With success here, my next step is to find a way to store my module code entirely in RAM - rather than having it create a .pm file on disk.
I have tried a couple of things using IO::Scalar and tie but haven't had much success thus far. What I am hoping to do is to have $Mod_Code contain the code of my module while $Mod_Pointer provides a pointer on where to find this within RAM.
Any ideas or thoughts would be helpful.
Best,
AssetXero