Quoting Joshua ben Jore <twists@gmail.com> from ml.lang.perl.porters: :On Thu, Sep 24, 2009 at 3:51 PM, Raphael Manfredi :<Raphael_Manfredi@pobox.com> wrote: :> So what do I do before instantiating the perl interpretor to install :> my own memory management rourtines? : :Experiment til it works? Like I said, this is a perl library :compilation time activity so once your C macros are right, you can :compile perl and get it to pick up your new definitions. I was afraid you were going to say that. I do not want to recompile perl with my own macros. I want to link with plain stock -lperl then use an API from the perl library to supersede the memory allocation routines at runtime. I take from your answer that this API does not exist today and would have to be developped in order to do what I want. Bonus question: is there a runtime routine I can call before perl_alloc() to give me the version of the perl library against which I've been linked? RaphaelThread Previous | Thread Next